isomorfeus-preact 10.5.0 → 10.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1080) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +29 -0
  3. data/lib/isomorfeus/preact/config.rb +19 -35
  4. data/lib/isomorfeus/preact/imports.rb +30 -0
  5. data/lib/isomorfeus/preact_view_helper.rb +34 -42
  6. data/lib/isomorfeus-preact.rb +6 -4
  7. data/lib/lucid_app/context.rb +9 -9
  8. data/lib/preact/version.rb +1 -1
  9. data/node_modules/.bin/loose-envify +12 -0
  10. data/node_modules/.bin/loose-envify.cmd +17 -0
  11. data/node_modules/.bin/loose-envify.ps1 +28 -0
  12. data/node_modules/.package-lock.json +278 -0
  13. data/node_modules/@babel/runtime/LICENSE +22 -0
  14. data/node_modules/@babel/runtime/README.md +19 -0
  15. data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +99 -0
  16. data/node_modules/@babel/runtime/helpers/AwaitValue.js +6 -0
  17. data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +31 -0
  18. data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +12 -0
  19. data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +6 -0
  20. data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +8 -0
  21. data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +10 -0
  22. data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +57 -0
  23. data/node_modules/@babel/runtime/helpers/asyncIterator.js +16 -0
  24. data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +38 -0
  25. data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +8 -0
  26. data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +8 -0
  27. data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +23 -0
  28. data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +10 -0
  29. data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +14 -0
  30. data/node_modules/@babel/runtime/helpers/classCallCheck.js +8 -0
  31. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +8 -0
  32. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +8 -0
  33. data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +10 -0
  34. data/node_modules/@babel/runtime/helpers/classNameTDZError.js +6 -0
  35. data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +11 -0
  36. data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +11 -0
  37. data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +9 -0
  38. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +10 -0
  39. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +8 -0
  40. data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +12 -0
  41. data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +10 -0
  42. data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +9 -0
  43. data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +6 -0
  44. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +14 -0
  45. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +14 -0
  46. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +15 -0
  47. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +9 -0
  48. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +6 -0
  49. data/node_modules/@babel/runtime/helpers/construct.js +26 -0
  50. data/node_modules/@babel/runtime/helpers/createClass.js +18 -0
  51. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +61 -0
  52. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +25 -0
  53. data/node_modules/@babel/runtime/helpers/createSuper.js +25 -0
  54. data/node_modules/@babel/runtime/helpers/decorate.js +401 -0
  55. data/node_modules/@babel/runtime/helpers/defaults.js +17 -0
  56. data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +25 -0
  57. data/node_modules/@babel/runtime/helpers/defineProperty.js +17 -0
  58. data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +95 -0
  59. data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +3 -0
  60. data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +28 -0
  61. data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
  62. data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +3 -0
  63. data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +4 -0
  64. data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
  65. data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +54 -0
  66. data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +13 -0
  67. data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +35 -0
  68. data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +4 -0
  69. data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +5 -0
  70. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +20 -0
  71. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +7 -0
  72. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +11 -0
  73. data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
  74. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  75. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +5 -0
  76. data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +7 -0
  77. data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +3 -0
  78. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +6 -0
  79. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +6 -0
  80. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  81. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +7 -0
  82. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +4 -0
  83. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  84. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +7 -0
  85. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  86. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +3 -0
  87. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +8 -0
  88. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +8 -0
  89. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +9 -0
  90. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  91. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +3 -0
  92. data/node_modules/@babel/runtime/helpers/esm/construct.js +18 -0
  93. data/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
  94. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +57 -0
  95. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +21 -0
  96. data/node_modules/@babel/runtime/helpers/esm/createSuper.js +19 -0
  97. data/node_modules/@babel/runtime/helpers/esm/decorate.js +396 -0
  98. data/node_modules/@babel/runtime/helpers/esm/defaults.js +14 -0
  99. data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +22 -0
  100. data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +14 -0
  101. data/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
  102. data/node_modules/@babel/runtime/helpers/esm/get.js +20 -0
  103. data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  104. data/node_modules/@babel/runtime/helpers/esm/inherits.js +15 -0
  105. data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +6 -0
  106. data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  107. data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +3 -0
  108. data/node_modules/@babel/runtime/helpers/esm/instanceof.js +7 -0
  109. data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +5 -0
  110. data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +51 -0
  111. data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +3 -0
  112. data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +12 -0
  113. data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +3 -0
  114. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
  115. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +14 -0
  116. data/node_modules/@babel/runtime/helpers/esm/jsx.js +46 -0
  117. data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  118. data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +5 -0
  119. data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +3 -0
  120. data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +3 -0
  121. data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +3 -0
  122. data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +19 -0
  123. data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +39 -0
  124. data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
  125. data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +14 -0
  126. data/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  127. data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +11 -0
  128. data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +3 -0
  129. data/node_modules/@babel/runtime/helpers/esm/set.js +51 -0
  130. data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
  131. data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  132. data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +7 -0
  133. data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +7 -0
  134. data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +9 -0
  135. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +11 -0
  136. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +8 -0
  137. data/node_modules/@babel/runtime/helpers/esm/tdz.js +3 -0
  138. data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +5 -0
  139. data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +1 -0
  140. data/node_modules/@babel/runtime/helpers/esm/toArray.js +7 -0
  141. data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +7 -0
  142. data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +13 -0
  143. data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +6 -0
  144. data/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
  145. data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  146. data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +6 -0
  147. data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +37 -0
  148. data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +65 -0
  149. data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +3 -0
  150. data/node_modules/@babel/runtime/helpers/extends.js +21 -0
  151. data/node_modules/@babel/runtime/helpers/get.js +27 -0
  152. data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +10 -0
  153. data/node_modules/@babel/runtime/helpers/inherits.js +19 -0
  154. data/node_modules/@babel/runtime/helpers/inheritsLoose.js +10 -0
  155. data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +12 -0
  156. data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +6 -0
  157. data/node_modules/@babel/runtime/helpers/instanceof.js +10 -0
  158. data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +8 -0
  159. data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +54 -0
  160. data/node_modules/@babel/runtime/helpers/isNativeFunction.js +6 -0
  161. data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +15 -0
  162. data/node_modules/@babel/runtime/helpers/iterableToArray.js +6 -0
  163. data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +32 -0
  164. data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +17 -0
  165. data/node_modules/@babel/runtime/helpers/jsx.js +50 -0
  166. data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +13 -0
  167. data/node_modules/@babel/runtime/helpers/newArrowCheck.js +8 -0
  168. data/node_modules/@babel/runtime/helpers/nonIterableRest.js +6 -0
  169. data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +6 -0
  170. data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +6 -0
  171. data/node_modules/@babel/runtime/helpers/objectSpread.js +23 -0
  172. data/node_modules/@babel/runtime/helpers/objectSpread2.js +42 -0
  173. data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +23 -0
  174. data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +17 -0
  175. data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +16 -0
  176. data/node_modules/@babel/runtime/helpers/readOnlyError.js +6 -0
  177. data/node_modules/@babel/runtime/helpers/set.js +55 -0
  178. data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +12 -0
  179. data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +10 -0
  180. data/node_modules/@babel/runtime/helpers/slicedToArray.js +14 -0
  181. data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +14 -0
  182. data/node_modules/@babel/runtime/helpers/superPropBase.js +13 -0
  183. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +14 -0
  184. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +11 -0
  185. data/node_modules/@babel/runtime/helpers/tdz.js +6 -0
  186. data/node_modules/@babel/runtime/helpers/temporalRef.js +10 -0
  187. data/node_modules/@babel/runtime/helpers/temporalUndefined.js +4 -0
  188. data/node_modules/@babel/runtime/helpers/toArray.js +14 -0
  189. data/node_modules/@babel/runtime/helpers/toConsumableArray.js +14 -0
  190. data/node_modules/@babel/runtime/helpers/toPrimitive.js +17 -0
  191. data/node_modules/@babel/runtime/helpers/toPropertyKey.js +11 -0
  192. data/node_modules/@babel/runtime/helpers/typeof.js +22 -0
  193. data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +13 -0
  194. data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +10 -0
  195. data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +45 -0
  196. data/node_modules/@babel/runtime/helpers/wrapRegExp.js +72 -0
  197. data/node_modules/@babel/runtime/helpers/writeOnlyError.js +6 -0
  198. data/node_modules/@babel/runtime/package.json +848 -0
  199. data/node_modules/@babel/runtime/regenerator/index.js +1 -0
  200. data/node_modules/css-in-js-utils/Changelog.md +16 -0
  201. data/node_modules/css-in-js-utils/LICENSE +21 -0
  202. data/node_modules/css-in-js-utils/README.md +241 -0
  203. data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +117 -0
  204. data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +15 -0
  205. data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +15 -0
  206. data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +31 -0
  207. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +19 -0
  208. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +19 -0
  209. data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +43 -0
  210. data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +21 -0
  211. data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +17 -0
  212. data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +19 -0
  213. data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +20 -0
  214. data/node_modules/css-in-js-utils/lib/assignStyle.js +37 -0
  215. data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +15 -0
  216. data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +17 -0
  217. data/node_modules/css-in-js-utils/lib/cssifyObject.js +34 -0
  218. data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +17 -0
  219. data/node_modules/css-in-js-utils/lib/index.js +71 -0
  220. data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +12 -0
  221. data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +12 -0
  222. data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +64 -0
  223. data/node_modules/css-in-js-utils/lib/normalizeProperty.js +21 -0
  224. data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +19 -0
  225. data/node_modules/css-in-js-utils/lib/unprefixProperty.js +13 -0
  226. data/node_modules/css-in-js-utils/lib/unprefixValue.js +16 -0
  227. data/node_modules/css-in-js-utils/package.json +56 -0
  228. data/node_modules/css-tree/CHANGELOG.md +590 -0
  229. data/node_modules/css-tree/LICENSE +19 -0
  230. data/node_modules/css-tree/README.md +130 -0
  231. data/node_modules/css-tree/data/index.js +103 -0
  232. data/node_modules/css-tree/data/patch.json +721 -0
  233. data/node_modules/css-tree/dist/csstree.js +12606 -0
  234. data/node_modules/css-tree/dist/csstree.min.js +1 -0
  235. data/node_modules/css-tree/lib/common/List.js +576 -0
  236. data/node_modules/css-tree/lib/common/OffsetToLocation.js +91 -0
  237. data/node_modules/css-tree/lib/common/SyntaxError.js +82 -0
  238. data/node_modules/css-tree/lib/common/TokenStream.js +219 -0
  239. data/node_modules/css-tree/lib/common/adopt-buffer.js +10 -0
  240. data/node_modules/css-tree/lib/convertor/create.js +28 -0
  241. data/node_modules/css-tree/lib/convertor/index.js +3 -0
  242. data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +14 -0
  243. data/node_modules/css-tree/lib/definition-syntax/generate.js +129 -0
  244. data/node_modules/css-tree/lib/definition-syntax/index.js +6 -0
  245. data/node_modules/css-tree/lib/definition-syntax/parse.js +568 -0
  246. data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +55 -0
  247. data/node_modules/css-tree/lib/definition-syntax/walk.js +52 -0
  248. data/node_modules/css-tree/lib/generator/create.js +66 -0
  249. data/node_modules/css-tree/lib/generator/index.js +4 -0
  250. data/node_modules/css-tree/lib/generator/sourceMap.js +95 -0
  251. data/node_modules/css-tree/lib/index.js +1 -0
  252. data/node_modules/css-tree/lib/lexer/Lexer.js +466 -0
  253. data/node_modules/css-tree/lib/lexer/error.js +127 -0
  254. data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +236 -0
  255. data/node_modules/css-tree/lib/lexer/generic-urange.js +159 -0
  256. data/node_modules/css-tree/lib/lexer/generic.js +585 -0
  257. data/node_modules/css-tree/lib/lexer/index.js +3 -0
  258. data/node_modules/css-tree/lib/lexer/match-graph.js +455 -0
  259. data/node_modules/css-tree/lib/lexer/match.js +639 -0
  260. data/node_modules/css-tree/lib/lexer/prepare-tokens.js +73 -0
  261. data/node_modules/css-tree/lib/lexer/search.js +65 -0
  262. data/node_modules/css-tree/lib/lexer/structure.js +163 -0
  263. data/node_modules/css-tree/lib/lexer/trace.js +79 -0
  264. data/node_modules/css-tree/lib/parser/create.js +304 -0
  265. data/node_modules/css-tree/lib/parser/index.js +4 -0
  266. data/node_modules/css-tree/lib/parser/sequence.js +54 -0
  267. data/node_modules/css-tree/lib/syntax/atrule/font-face.js +8 -0
  268. data/node_modules/css-tree/lib/syntax/atrule/import.js +40 -0
  269. data/node_modules/css-tree/lib/syntax/atrule/index.js +7 -0
  270. data/node_modules/css-tree/lib/syntax/atrule/media.js +12 -0
  271. data/node_modules/css-tree/lib/syntax/atrule/page.js +12 -0
  272. data/node_modules/css-tree/lib/syntax/atrule/supports.js +89 -0
  273. data/node_modules/css-tree/lib/syntax/config/lexer.js +9 -0
  274. data/node_modules/css-tree/lib/syntax/config/mix.js +140 -0
  275. data/node_modules/css-tree/lib/syntax/config/parser.js +25 -0
  276. data/node_modules/css-tree/lib/syntax/config/walker.js +3 -0
  277. data/node_modules/css-tree/lib/syntax/create.js +77 -0
  278. data/node_modules/css-tree/lib/syntax/function/expression.js +7 -0
  279. data/node_modules/css-tree/lib/syntax/function/var.js +43 -0
  280. data/node_modules/css-tree/lib/syntax/index.js +21 -0
  281. data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +297 -0
  282. data/node_modules/css-tree/lib/syntax/node/Atrule.js +107 -0
  283. data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +51 -0
  284. data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +165 -0
  285. data/node_modules/css-tree/lib/syntax/node/Block.js +91 -0
  286. data/node_modules/css-tree/lib/syntax/node/Brackets.js +34 -0
  287. data/node_modules/css-tree/lib/syntax/node/CDC.js +19 -0
  288. data/node_modules/css-tree/lib/syntax/node/CDO.js +19 -0
  289. data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +29 -0
  290. data/node_modules/css-tree/lib/syntax/node/Combinator.js +55 -0
  291. data/node_modules/css-tree/lib/syntax/node/Comment.js +36 -0
  292. data/node_modules/css-tree/lib/syntax/node/Declaration.js +169 -0
  293. data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +49 -0
  294. data/node_modules/css-tree/lib/syntax/node/Dimension.js +29 -0
  295. data/node_modules/css-tree/lib/syntax/node/Function.js +40 -0
  296. data/node_modules/css-tree/lib/syntax/node/Hash.js +26 -0
  297. data/node_modules/css-tree/lib/syntax/node/IdSelector.js +27 -0
  298. data/node_modules/css-tree/lib/syntax/node/Identifier.js +20 -0
  299. data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +76 -0
  300. data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +68 -0
  301. data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +36 -0
  302. data/node_modules/css-tree/lib/syntax/node/Nth.js +51 -0
  303. data/node_modules/css-tree/lib/syntax/node/Number.js +18 -0
  304. data/node_modules/css-tree/lib/syntax/node/Operator.js +21 -0
  305. data/node_modules/css-tree/lib/syntax/node/Parentheses.js +34 -0
  306. data/node_modules/css-tree/lib/syntax/node/Percentage.js +27 -0
  307. data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +61 -0
  308. data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +62 -0
  309. data/node_modules/css-tree/lib/syntax/node/Ratio.js +66 -0
  310. data/node_modules/css-tree/lib/syntax/node/Raw.js +87 -0
  311. data/node_modules/css-tree/lib/syntax/node/Rule.js +54 -0
  312. data/node_modules/css-tree/lib/syntax/node/Selector.js +32 -0
  313. data/node_modules/css-tree/lib/syntax/node/SelectorList.js +39 -0
  314. data/node_modules/css-tree/lib/syntax/node/String.js +18 -0
  315. data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +81 -0
  316. data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +53 -0
  317. data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +173 -0
  318. data/node_modules/css-tree/lib/syntax/node/Url.js +69 -0
  319. data/node_modules/css-tree/lib/syntax/node/Value.js +19 -0
  320. data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +26 -0
  321. data/node_modules/css-tree/lib/syntax/node/index.js +42 -0
  322. data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +9 -0
  323. data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +9 -0
  324. data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +7 -0
  325. data/node_modules/css-tree/lib/syntax/pseudo/dir.js +7 -0
  326. data/node_modules/css-tree/lib/syntax/pseudo/has.js +7 -0
  327. data/node_modules/css-tree/lib/syntax/pseudo/index.js +12 -0
  328. data/node_modules/css-tree/lib/syntax/pseudo/lang.js +7 -0
  329. data/node_modules/css-tree/lib/syntax/pseudo/matches.js +1 -0
  330. data/node_modules/css-tree/lib/syntax/pseudo/not.js +1 -0
  331. data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +1 -0
  332. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +1 -0
  333. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +1 -0
  334. data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +1 -0
  335. data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +7 -0
  336. data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +3 -0
  337. data/node_modules/css-tree/lib/syntax/scope/default.js +87 -0
  338. data/node_modules/css-tree/lib/syntax/scope/index.js +5 -0
  339. data/node_modules/css-tree/lib/syntax/scope/selector.js +80 -0
  340. data/node_modules/css-tree/lib/syntax/scope/value.js +5 -0
  341. data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +249 -0
  342. data/node_modules/css-tree/lib/tokenizer/const.js +40 -0
  343. data/node_modules/css-tree/lib/tokenizer/index.js +591 -0
  344. data/node_modules/css-tree/lib/tokenizer/utils.js +243 -0
  345. data/node_modules/css-tree/lib/utils/clone.js +21 -0
  346. data/node_modules/css-tree/lib/utils/createCustomError.js +17 -0
  347. data/node_modules/css-tree/lib/utils/names.js +104 -0
  348. data/node_modules/css-tree/lib/walker/create.js +284 -0
  349. data/node_modules/css-tree/lib/walker/index.js +4 -0
  350. data/node_modules/css-tree/package.json +60 -0
  351. data/node_modules/csstype/LICENSE +19 -0
  352. data/node_modules/csstype/README.md +273 -0
  353. data/node_modules/csstype/index.d.ts +20553 -0
  354. data/node_modules/csstype/index.js.flow +6278 -0
  355. data/node_modules/csstype/package.json +62 -0
  356. data/node_modules/error-stack-parser/CHANGELOG.md +53 -0
  357. data/node_modules/error-stack-parser/LICENSE +19 -0
  358. data/node_modules/error-stack-parser/README.md +44 -0
  359. data/node_modules/error-stack-parser/dist/error-stack-parser.js +202 -0
  360. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +2 -0
  361. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +1 -0
  362. data/node_modules/error-stack-parser/error-stack-parser.d.ts +66 -0
  363. data/node_modules/error-stack-parser/error-stack-parser.js +202 -0
  364. data/node_modules/error-stack-parser/package.json +63 -0
  365. data/node_modules/fastest-stable-stringify/.eslintrc.yml +26 -0
  366. data/node_modules/fastest-stable-stringify/.travis.yml +7 -0
  367. data/node_modules/fastest-stable-stringify/LICENSE +18 -0
  368. data/node_modules/fastest-stable-stringify/README.md +44 -0
  369. data/node_modules/fastest-stable-stringify/benchmark/index.js +32 -0
  370. data/node_modules/fastest-stable-stringify/benchmark/test.json +215 -0
  371. data/node_modules/fastest-stable-stringify/example/key_cmp.js +7 -0
  372. data/node_modules/fastest-stable-stringify/example/nested.js +3 -0
  373. data/node_modules/fastest-stable-stringify/example/str.js +3 -0
  374. data/node_modules/fastest-stable-stringify/example/value_cmp.js +7 -0
  375. data/node_modules/fastest-stable-stringify/index.js +60 -0
  376. data/node_modules/fastest-stable-stringify/package.json +54 -0
  377. data/node_modules/fastest-stable-stringify/test/bench.js +20 -0
  378. data/node_modules/fastest-stable-stringify/test/nested.js +24 -0
  379. data/node_modules/fastest-stable-stringify/test/str.js +52 -0
  380. data/node_modules/fastest-stable-stringify/test/to-json.js +22 -0
  381. data/node_modules/hyphenate-style-name/LICENSE +28 -0
  382. data/node_modules/hyphenate-style-name/README.md +28 -0
  383. data/node_modules/hyphenate-style-name/index.cjs.js +21 -0
  384. data/node_modules/hyphenate-style-name/index.js +19 -0
  385. data/node_modules/hyphenate-style-name/package.json +42 -0
  386. data/node_modules/inline-style-prefixer/CHANGELOG.md +195 -0
  387. data/node_modules/inline-style-prefixer/LICENSE +22 -0
  388. data/node_modules/inline-style-prefixer/README.md +100 -0
  389. data/node_modules/inline-style-prefixer/es/createPrefixer.js +47 -0
  390. data/node_modules/inline-style-prefixer/es/data.js +12 -0
  391. data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +21 -0
  392. data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +75 -0
  393. data/node_modules/inline-style-prefixer/es/generator/index.js +69 -0
  394. data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +108 -0
  395. data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +38 -0
  396. data/node_modules/inline-style-prefixer/es/index.js +26 -0
  397. data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +7 -0
  398. data/node_modules/inline-style-prefixer/es/plugins/calc.js +11 -0
  399. data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +12 -0
  400. data/node_modules/inline-style-prefixer/es/plugins/cursor.js +16 -0
  401. data/node_modules/inline-style-prefixer/es/plugins/filter.js +12 -0
  402. data/node_modules/inline-style-prefixer/es/plugins/flex.js +10 -0
  403. data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +67 -0
  404. data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +33 -0
  405. data/node_modules/inline-style-prefixer/es/plugins/gradient.js +14 -0
  406. data/node_modules/inline-style-prefixer/es/plugins/grid.js +129 -0
  407. data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +12 -0
  408. data/node_modules/inline-style-prefixer/es/plugins/index.js +17 -0
  409. data/node_modules/inline-style-prefixer/es/plugins/logical.js +35 -0
  410. data/node_modules/inline-style-prefixer/es/plugins/position.js +5 -0
  411. data/node_modules/inline-style-prefixer/es/plugins/sizing.js +26 -0
  412. data/node_modules/inline-style-prefixer/es/plugins/transition.js +75 -0
  413. data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +15 -0
  414. data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +3 -0
  415. data/node_modules/inline-style-prefixer/es/utils/isObject.js +3 -0
  416. data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +22 -0
  417. data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +11 -0
  418. data/node_modules/inline-style-prefixer/lib/createPrefixer.js +66 -0
  419. data/node_modules/inline-style-prefixer/lib/data.js +17 -0
  420. data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +32 -0
  421. data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +86 -0
  422. data/node_modules/inline-style-prefixer/lib/generator/index.js +85 -0
  423. data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +113 -0
  424. data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +43 -0
  425. data/node_modules/inline-style-prefixer/lib/index.js +78 -0
  426. data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +13 -0
  427. data/node_modules/inline-style-prefixer/lib/plugins/calc.js +21 -0
  428. data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +22 -0
  429. data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +22 -0
  430. data/node_modules/inline-style-prefixer/lib/plugins/filter.js +22 -0
  431. data/node_modules/inline-style-prefixer/lib/plugins/flex.js +16 -0
  432. data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +73 -0
  433. data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +39 -0
  434. data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +26 -0
  435. data/node_modules/inline-style-prefixer/lib/plugins/grid.js +136 -0
  436. data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +22 -0
  437. data/node_modules/inline-style-prefixer/lib/plugins/index.js +69 -0
  438. data/node_modules/inline-style-prefixer/lib/plugins/logical.js +41 -0
  439. data/node_modules/inline-style-prefixer/lib/plugins/position.js +11 -0
  440. data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +32 -0
  441. data/node_modules/inline-style-prefixer/lib/plugins/transition.js +92 -0
  442. data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +21 -0
  443. data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +9 -0
  444. data/node_modules/inline-style-prefixer/lib/utils/isObject.js +9 -0
  445. data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +32 -0
  446. data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +17 -0
  447. data/node_modules/inline-style-prefixer/package.json +79 -0
  448. data/node_modules/isobject/LICENSE +21 -0
  449. data/node_modules/isobject/README.md +122 -0
  450. data/node_modules/isobject/index.d.ts +5 -0
  451. data/node_modules/isobject/index.js +12 -0
  452. data/node_modules/isobject/package.json +74 -0
  453. data/node_modules/js-tokens/CHANGELOG.md +151 -0
  454. data/node_modules/js-tokens/LICENSE +21 -0
  455. data/node_modules/js-tokens/README.md +240 -0
  456. data/node_modules/js-tokens/index.js +23 -0
  457. data/node_modules/js-tokens/package.json +30 -0
  458. data/node_modules/loose-envify/LICENSE +21 -0
  459. data/node_modules/loose-envify/README.md +45 -0
  460. data/node_modules/loose-envify/cli.js +16 -0
  461. data/node_modules/loose-envify/custom.js +4 -0
  462. data/node_modules/loose-envify/index.js +3 -0
  463. data/node_modules/loose-envify/loose-envify.js +36 -0
  464. data/node_modules/loose-envify/package.json +36 -0
  465. data/node_modules/loose-envify/replace.js +65 -0
  466. data/node_modules/mdn-data/LICENSE +116 -0
  467. data/node_modules/mdn-data/README.md +56 -0
  468. data/node_modules/mdn-data/api/index.js +3 -0
  469. data/node_modules/mdn-data/api/inheritance.json +2681 -0
  470. data/node_modules/mdn-data/api/inheritance.schema.json +31 -0
  471. data/node_modules/mdn-data/css/at-rules.json +560 -0
  472. data/node_modules/mdn-data/css/at-rules.schema.json +132 -0
  473. data/node_modules/mdn-data/css/definitions.json +77 -0
  474. data/node_modules/mdn-data/css/index.js +8 -0
  475. data/node_modules/mdn-data/css/properties.json +9163 -0
  476. data/node_modules/mdn-data/css/properties.schema.json +402 -0
  477. data/node_modules/mdn-data/css/selectors.json +927 -0
  478. data/node_modules/mdn-data/css/selectors.schema.json +36 -0
  479. data/node_modules/mdn-data/css/syntaxes.json +761 -0
  480. data/node_modules/mdn-data/css/syntaxes.schema.json +15 -0
  481. data/node_modules/mdn-data/css/types.json +265 -0
  482. data/node_modules/mdn-data/css/types.schema.json +32 -0
  483. data/node_modules/mdn-data/css/units.json +199 -0
  484. data/node_modules/mdn-data/css/units.schema.json +28 -0
  485. data/node_modules/mdn-data/index.js +5 -0
  486. data/node_modules/mdn-data/l10n/css.json +1567 -0
  487. data/node_modules/mdn-data/l10n/index.js +3 -0
  488. data/node_modules/mdn-data/package.json +39 -0
  489. data/node_modules/nano-css/.circleci/config.yml +85 -0
  490. data/node_modules/nano-css/.eslintrc.yml +27 -0
  491. data/node_modules/nano-css/.github/FUNDING.yml +3 -0
  492. data/node_modules/nano-css/.github/workflows/nodejs.yml +23 -0
  493. data/node_modules/nano-css/CHANGELOG.md +362 -0
  494. data/node_modules/nano-css/LICENSE +24 -0
  495. data/node_modules/nano-css/README.md +70 -0
  496. data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +25 -0
  497. data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +407 -0
  498. data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +43 -0
  499. data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +6 -0
  500. data/node_modules/nano-css/addon/__tests__/amp.server.test.js +223 -0
  501. data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +5 -0
  502. data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +8 -0
  503. data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +6 -0
  504. data/node_modules/nano-css/addon/__tests__/atoms.test.js +49 -0
  505. data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +12 -0
  506. data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +5 -0
  507. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +8 -0
  508. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +6 -0
  509. data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +219 -0
  510. data/node_modules/nano-css/addon/__tests__/env.js +6 -0
  511. data/node_modules/nano-css/addon/__tests__/extract.server.test.js +159 -0
  512. data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +6 -0
  513. data/node_modules/nano-css/addon/__tests__/index.server.test.js +4 -0
  514. data/node_modules/nano-css/addon/__tests__/index.test.js +257 -0
  515. data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +5 -0
  516. data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +6 -0
  517. data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +4 -0
  518. data/node_modules/nano-css/addon/__tests__/jsx.test.js +33 -0
  519. data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +5 -0
  520. data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +6 -0
  521. data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +4 -0
  522. data/node_modules/nano-css/addon/__tests__/keyframes.test.js +131 -0
  523. data/node_modules/nano-css/addon/__tests__/limit.server.test.js +54 -0
  524. data/node_modules/nano-css/addon/__tests__/nesting.test.js +85 -0
  525. data/node_modules/nano-css/addon/__tests__/prefixer.test.js +121 -0
  526. data/node_modules/nano-css/addon/__tests__/put.dev.test.js +5 -0
  527. data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +6 -0
  528. data/node_modules/nano-css/addon/__tests__/put.server.test.js +4 -0
  529. data/node_modules/nano-css/addon/__tests__/put.test.js +75 -0
  530. data/node_modules/nano-css/addon/__tests__/reset.test.js +38 -0
  531. data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +5 -0
  532. data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +7 -0
  533. data/node_modules/nano-css/addon/__tests__/rule.server.test.js +5 -0
  534. data/node_modules/nano-css/addon/__tests__/rule.test.js +57 -0
  535. data/node_modules/nano-css/addon/__tests__/setup.js +7 -0
  536. data/node_modules/nano-css/addon/__tests__/sheet.test.js +74 -0
  537. data/node_modules/nano-css/addon/__tests__/snake.test.js +124 -0
  538. data/node_modules/nano-css/addon/__tests__/tachyons.test.js +45 -0
  539. data/node_modules/nano-css/addon/__tests__/units.dev.test.js +5 -0
  540. data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +6 -0
  541. data/node_modules/nano-css/addon/__tests__/units.server.test.js +4 -0
  542. data/node_modules/nano-css/addon/__tests__/units.test.js +41 -0
  543. data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +5 -0
  544. data/node_modules/nano-css/addon/__tests__/validate.test.js +69 -0
  545. data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +14 -0
  546. data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +5 -0
  547. data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +6 -0
  548. data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +4 -0
  549. data/node_modules/nano-css/addon/__tests__/virtual.test.js +225 -0
  550. data/node_modules/nano-css/addon/amp.d.ts +5 -0
  551. data/node_modules/nano-css/addon/amp.js +156 -0
  552. data/node_modules/nano-css/addon/animate/fadeIn.js +22 -0
  553. data/node_modules/nano-css/addon/animate/fadeInDown.js +25 -0
  554. data/node_modules/nano-css/addon/animate/fadeInScale.js +25 -0
  555. data/node_modules/nano-css/addon/animate/fadeOut.js +23 -0
  556. data/node_modules/nano-css/addon/animate/fadeOutScale.js +21 -0
  557. data/node_modules/nano-css/addon/array.d.ts +5 -0
  558. data/node_modules/nano-css/addon/array.js +33 -0
  559. data/node_modules/nano-css/addon/atoms.d.ts +243 -0
  560. data/node_modules/nano-css/addon/atoms.js +63 -0
  561. data/node_modules/nano-css/addon/cache.d.ts +8 -0
  562. data/node_modules/nano-css/addon/cache.js +17 -0
  563. data/node_modules/nano-css/addon/component.d.ts +7 -0
  564. data/node_modules/nano-css/addon/component.js +26 -0
  565. data/node_modules/nano-css/addon/cssom.d.ts +17 -0
  566. data/node_modules/nano-css/addon/cssom.js +36 -0
  567. data/node_modules/nano-css/addon/decorator.d.ts +7 -0
  568. data/node_modules/nano-css/addon/decorator.js +43 -0
  569. data/node_modules/nano-css/addon/drule.d.ts +8 -0
  570. data/node_modules/nano-css/addon/drule.js +27 -0
  571. data/node_modules/nano-css/addon/dsheet.d.ts +8 -0
  572. data/node_modules/nano-css/addon/dsheet.js +36 -0
  573. data/node_modules/nano-css/addon/emmet.d.ts +614 -0
  574. data/node_modules/nano-css/addon/emmet.js +177 -0
  575. data/node_modules/nano-css/addon/extract.d.ts +5 -0
  576. data/node_modules/nano-css/addon/extract.js +59 -0
  577. data/node_modules/nano-css/addon/global.d.ts +8 -0
  578. data/node_modules/nano-css/addon/global.js +19 -0
  579. data/node_modules/nano-css/addon/googleFont.d.ts +8 -0
  580. data/node_modules/nano-css/addon/googleFont.js +43 -0
  581. data/node_modules/nano-css/addon/hydrate.d.ts +7 -0
  582. data/node_modules/nano-css/addon/hydrate.js +28 -0
  583. data/node_modules/nano-css/addon/hyperstyle.js +27 -0
  584. data/node_modules/nano-css/addon/important.js +38 -0
  585. data/node_modules/nano-css/addon/jsx.js +60 -0
  586. data/node_modules/nano-css/addon/keyframes.d.ts +34 -0
  587. data/node_modules/nano-css/addon/keyframes.js +61 -0
  588. data/node_modules/nano-css/addon/limit.js +26 -0
  589. data/node_modules/nano-css/addon/nesting.js +37 -0
  590. data/node_modules/nano-css/addon/pipe.js +57 -0
  591. data/node_modules/nano-css/addon/prefixer.js +79 -0
  592. data/node_modules/nano-css/addon/ref.js +87 -0
  593. data/node_modules/nano-css/addon/reset/EricMeyer.js +48 -0
  594. data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +44 -0
  595. data/node_modules/nano-css/addon/reset/Minimalistic.js +16 -0
  596. data/node_modules/nano-css/addon/reset/Minimalistic2.js +17 -0
  597. data/node_modules/nano-css/addon/reset/Minimalistic3.js +18 -0
  598. data/node_modules/nano-css/addon/reset/Normalize.js +83 -0
  599. data/node_modules/nano-css/addon/reset/PoorMan.js +25 -0
  600. data/node_modules/nano-css/addon/reset/ShaunInman.js +42 -0
  601. data/node_modules/nano-css/addon/reset/Siolon.js +34 -0
  602. data/node_modules/nano-css/addon/reset/Tantek.js +31 -0
  603. data/node_modules/nano-css/addon/reset/Tripoli.js +75 -0
  604. data/node_modules/nano-css/addon/reset/Universal.js +23 -0
  605. data/node_modules/nano-css/addon/reset/Yahoo.js +43 -0
  606. data/node_modules/nano-css/addon/reset-font.js +24 -0
  607. data/node_modules/nano-css/addon/rtl.js +15 -0
  608. data/node_modules/nano-css/addon/rule.d.ts +26 -0
  609. data/node_modules/nano-css/addon/rule.js +39 -0
  610. data/node_modules/nano-css/addon/sheet.d.ts +22 -0
  611. data/node_modules/nano-css/addon/sheet.js +45 -0
  612. data/node_modules/nano-css/addon/snake.js +141 -0
  613. data/node_modules/nano-css/addon/sourcemaps.js +96 -0
  614. data/node_modules/nano-css/addon/spread.js +23 -0
  615. data/node_modules/nano-css/addon/stable.js +7 -0
  616. data/node_modules/nano-css/addon/style.js +33 -0
  617. data/node_modules/nano-css/addon/styled.js +161 -0
  618. data/node_modules/nano-css/addon/stylis/plugin-onRule.js +43 -0
  619. data/node_modules/nano-css/addon/stylis.js +28 -0
  620. data/node_modules/nano-css/addon/tachyons.js +215 -0
  621. data/node_modules/nano-css/addon/unitless.js +78 -0
  622. data/node_modules/nano-css/addon/units.d.ts +89 -0
  623. data/node_modules/nano-css/addon/units.js +27 -0
  624. data/node_modules/nano-css/addon/useStyles.js +24 -0
  625. data/node_modules/nano-css/addon/util/cloneElement.js +11 -0
  626. data/node_modules/nano-css/addon/util/transformComponentDynamic.js +50 -0
  627. data/node_modules/nano-css/addon/util/transformComponentStatic.js +26 -0
  628. data/node_modules/nano-css/addon/validate.js +82 -0
  629. data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +159 -0
  630. data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +15 -0
  631. data/node_modules/nano-css/addon/vcssom/cssToTree.js +42 -0
  632. data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +3 -0
  633. data/node_modules/nano-css/addon/vcssom/removeRule.js +15 -0
  634. data/node_modules/nano-css/addon/vcssom.d.ts +72 -0
  635. data/node_modules/nano-css/addon/vcssom.js +97 -0
  636. data/node_modules/nano-css/addon/virtual.js +107 -0
  637. data/node_modules/nano-css/addon/withStyles.js +32 -0
  638. data/node_modules/nano-css/index.d.ts +4 -0
  639. data/node_modules/nano-css/index.js +138 -0
  640. data/node_modules/nano-css/package.json +145 -0
  641. data/node_modules/nano-css/preset/react.js +43 -0
  642. data/node_modules/nano-css/preset/sheet.d.ts +5 -0
  643. data/node_modules/nano-css/preset/sheet.js +27 -0
  644. data/node_modules/nano-css/preset/vdom.js +40 -0
  645. data/node_modules/nano-css/prettier.config.js +13 -0
  646. data/node_modules/nano-css/renovate.json +3 -0
  647. data/node_modules/nano-css/types/common.d.ts +14 -0
  648. data/node_modules/nano-css/types/demo.ts +7 -0
  649. data/node_modules/nano-css/types/nano.d.ts +171 -0
  650. data/node_modules/object-assign/index.js +90 -0
  651. data/node_modules/object-assign/license +21 -0
  652. data/node_modules/object-assign/package.json +42 -0
  653. data/node_modules/object-assign/readme.md +61 -0
  654. data/node_modules/preact/LICENSE +21 -0
  655. data/node_modules/preact/README.md +187 -0
  656. data/node_modules/preact/compat/LICENSE +21 -0
  657. data/node_modules/preact/compat/dist/compat.js +2 -0
  658. data/node_modules/preact/compat/dist/compat.js.map +1 -0
  659. data/node_modules/preact/compat/dist/compat.mjs +2 -0
  660. data/node_modules/preact/compat/dist/compat.mjs.map +1 -0
  661. data/node_modules/preact/compat/dist/compat.modern.js +2 -0
  662. data/node_modules/preact/compat/dist/compat.modern.js.map +1 -0
  663. data/node_modules/preact/compat/dist/compat.module.js +2 -0
  664. data/node_modules/preact/compat/dist/compat.module.js.map +1 -0
  665. data/node_modules/preact/compat/dist/compat.umd.js +2 -0
  666. data/node_modules/preact/compat/dist/compat.umd.js.map +1 -0
  667. data/node_modules/preact/compat/jsx-dev-runtime.js +1 -0
  668. data/node_modules/preact/compat/jsx-dev-runtime.mjs +1 -0
  669. data/node_modules/preact/compat/jsx-runtime.js +1 -0
  670. data/node_modules/preact/compat/jsx-runtime.mjs +1 -0
  671. data/node_modules/preact/compat/package.json +19 -0
  672. data/node_modules/preact/compat/scheduler.js +15 -0
  673. data/node_modules/preact/compat/scheduler.mjs +23 -0
  674. data/node_modules/preact/compat/server.js +15 -0
  675. data/node_modules/preact/compat/server.mjs +4 -0
  676. data/node_modules/preact/compat/src/Children.js +21 -0
  677. data/node_modules/preact/compat/src/PureComponent.js +15 -0
  678. data/node_modules/preact/compat/src/forwardRef.js +51 -0
  679. data/node_modules/preact/compat/src/index.d.ts +140 -0
  680. data/node_modules/preact/compat/src/index.js +187 -0
  681. data/node_modules/preact/compat/src/internal.d.ts +47 -0
  682. data/node_modules/preact/compat/src/memo.js +34 -0
  683. data/node_modules/preact/compat/src/portals.js +80 -0
  684. data/node_modules/preact/compat/src/render.js +219 -0
  685. data/node_modules/preact/compat/src/suspense-list.d.ts +14 -0
  686. data/node_modules/preact/compat/src/suspense-list.js +126 -0
  687. data/node_modules/preact/compat/src/suspense.d.ts +15 -0
  688. data/node_modules/preact/compat/src/suspense.js +270 -0
  689. data/node_modules/preact/compat/src/util.js +28 -0
  690. data/node_modules/preact/compat/test-utils.js +1 -0
  691. data/node_modules/preact/debug/LICENSE +21 -0
  692. data/node_modules/preact/debug/dist/debug.js +2 -0
  693. data/node_modules/preact/debug/dist/debug.js.map +1 -0
  694. data/node_modules/preact/debug/dist/debug.mjs +2 -0
  695. data/node_modules/preact/debug/dist/debug.mjs.map +1 -0
  696. data/node_modules/preact/debug/dist/debug.modern.js +2 -0
  697. data/node_modules/preact/debug/dist/debug.modern.js.map +1 -0
  698. data/node_modules/preact/debug/dist/debug.module.js +2 -0
  699. data/node_modules/preact/debug/dist/debug.module.js.map +1 -0
  700. data/node_modules/preact/debug/dist/debug.umd.js +2 -0
  701. data/node_modules/preact/debug/dist/debug.umd.js.map +1 -0
  702. data/node_modules/preact/debug/package.json +18 -0
  703. data/node_modules/preact/debug/src/check-props.js +54 -0
  704. data/node_modules/preact/debug/src/component-stack.js +146 -0
  705. data/node_modules/preact/debug/src/constants.js +3 -0
  706. data/node_modules/preact/debug/src/debug.js +442 -0
  707. data/node_modules/preact/debug/src/index.js +6 -0
  708. data/node_modules/preact/debug/src/internal.d.ts +82 -0
  709. data/node_modules/preact/debug/src/util.js +11 -0
  710. data/node_modules/preact/devtools/LICENSE +21 -0
  711. data/node_modules/preact/devtools/dist/devtools.js +2 -0
  712. data/node_modules/preact/devtools/dist/devtools.js.map +1 -0
  713. data/node_modules/preact/devtools/dist/devtools.mjs +2 -0
  714. data/node_modules/preact/devtools/dist/devtools.mjs.map +1 -0
  715. data/node_modules/preact/devtools/dist/devtools.modern.js +2 -0
  716. data/node_modules/preact/devtools/dist/devtools.modern.js.map +1 -0
  717. data/node_modules/preact/devtools/dist/devtools.module.js +2 -0
  718. data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -0
  719. data/node_modules/preact/devtools/dist/devtools.umd.js +2 -0
  720. data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -0
  721. data/node_modules/preact/devtools/package.json +16 -0
  722. data/node_modules/preact/devtools/src/devtools.js +10 -0
  723. data/node_modules/preact/devtools/src/index.d.ts +8 -0
  724. data/node_modules/preact/devtools/src/index.js +15 -0
  725. data/node_modules/preact/dist/preact.js +2 -0
  726. data/node_modules/preact/dist/preact.js.map +1 -0
  727. data/node_modules/preact/dist/preact.min.js +2 -0
  728. data/node_modules/preact/dist/preact.min.js.map +1 -0
  729. data/node_modules/preact/dist/preact.mjs +2 -0
  730. data/node_modules/preact/dist/preact.mjs.map +1 -0
  731. data/node_modules/preact/dist/preact.module.js +2 -0
  732. data/node_modules/preact/dist/preact.module.js.map +1 -0
  733. data/node_modules/preact/dist/preact.umd.js +2 -0
  734. data/node_modules/preact/dist/preact.umd.js.map +1 -0
  735. data/node_modules/preact/hooks/LICENSE +21 -0
  736. data/node_modules/preact/hooks/dist/hooks.js +2 -0
  737. data/node_modules/preact/hooks/dist/hooks.js.map +1 -0
  738. data/node_modules/preact/hooks/dist/hooks.mjs +2 -0
  739. data/node_modules/preact/hooks/dist/hooks.mjs.map +1 -0
  740. data/node_modules/preact/hooks/dist/hooks.modern.js +2 -0
  741. data/node_modules/preact/hooks/dist/hooks.modern.js.map +1 -0
  742. data/node_modules/preact/hooks/dist/hooks.module.js +2 -0
  743. data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -0
  744. data/node_modules/preact/hooks/dist/hooks.umd.js +2 -0
  745. data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -0
  746. data/node_modules/preact/hooks/package.json +26 -0
  747. data/node_modules/preact/hooks/src/index.d.ts +133 -0
  748. data/node_modules/preact/hooks/src/index.js +386 -0
  749. data/node_modules/preact/hooks/src/internal.d.ts +75 -0
  750. data/node_modules/preact/jsx-runtime/LICENSE +21 -0
  751. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js +2 -0
  752. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.js.map +1 -0
  753. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs +2 -0
  754. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js +2 -0
  755. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.modern.js.map +1 -0
  756. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js +2 -0
  757. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js.map +1 -0
  758. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js +2 -0
  759. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.umd.js.map +1 -0
  760. data/node_modules/preact/jsx-runtime/package.json +19 -0
  761. data/node_modules/preact/jsx-runtime/src/index.d.ts +50 -0
  762. data/node_modules/preact/jsx-runtime/src/index.js +77 -0
  763. data/node_modules/preact/package.json +270 -0
  764. data/node_modules/preact/src/cjs.js +3 -0
  765. data/node_modules/preact/src/clone-element.js +34 -0
  766. data/node_modules/preact/src/component.js +225 -0
  767. data/node_modules/preact/src/constants.js +3 -0
  768. data/node_modules/preact/src/create-context.js +68 -0
  769. data/node_modules/preact/src/create-element.js +97 -0
  770. data/node_modules/preact/src/diff/catch-error.js +38 -0
  771. data/node_modules/preact/src/diff/children.js +347 -0
  772. data/node_modules/preact/src/diff/index.js +514 -0
  773. data/node_modules/preact/src/diff/props.js +158 -0
  774. data/node_modules/preact/src/index.d.ts +310 -0
  775. data/node_modules/preact/src/index.js +13 -0
  776. data/node_modules/preact/src/internal.d.ts +146 -0
  777. data/node_modules/preact/src/jsx.d.ts +962 -0
  778. data/node_modules/preact/src/options.js +16 -0
  779. data/node_modules/preact/src/render.js +75 -0
  780. data/node_modules/preact/src/util.js +27 -0
  781. data/node_modules/preact/test-utils/dist/testUtils.js +2 -0
  782. data/node_modules/preact/test-utils/dist/testUtils.js.map +1 -0
  783. data/node_modules/preact/test-utils/dist/testUtils.mjs +2 -0
  784. data/node_modules/preact/test-utils/dist/testUtils.mjs.map +1 -0
  785. data/node_modules/preact/test-utils/dist/testUtils.modern.js +2 -0
  786. data/node_modules/preact/test-utils/dist/testUtils.modern.js.map +1 -0
  787. data/node_modules/preact/test-utils/dist/testUtils.module.js +2 -0
  788. data/node_modules/preact/test-utils/dist/testUtils.module.js.map +1 -0
  789. data/node_modules/preact/test-utils/dist/testUtils.umd.js +2 -0
  790. data/node_modules/preact/test-utils/dist/testUtils.umd.js.map +1 -0
  791. data/node_modules/preact/test-utils/package.json +19 -0
  792. data/node_modules/preact/test-utils/src/index.d.ts +3 -0
  793. data/node_modules/preact/test-utils/src/index.js +117 -0
  794. data/node_modules/preact-deep-force-update/.babelrc +8 -0
  795. data/node_modules/preact-deep-force-update/.eslintrc +66 -0
  796. data/node_modules/preact-deep-force-update/.npmignore +2 -0
  797. data/node_modules/preact-deep-force-update/.travis.yml +3 -0
  798. data/node_modules/preact-deep-force-update/LICENSE +21 -0
  799. data/node_modules/preact-deep-force-update/README.md +53 -0
  800. data/node_modules/preact-deep-force-update/dist/deep-force-update.js +36 -0
  801. data/node_modules/preact-deep-force-update/dist/deep-force-update.js.map +1 -0
  802. data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js +2 -0
  803. data/node_modules/preact-deep-force-update/dist/deep-force-update.min.js.map +1 -0
  804. data/node_modules/preact-deep-force-update/karma.conf.js +32 -0
  805. data/node_modules/preact-deep-force-update/package.json +80 -0
  806. data/node_modules/preact-deep-force-update/rollup.config.js +17 -0
  807. data/node_modules/preact-deep-force-update/src/index.js +27 -0
  808. data/node_modules/preact-deep-force-update/test/index.js +50 -0
  809. data/node_modules/preact-render-to-string/LICENSE +21 -0
  810. data/node_modules/preact-render-to-string/README.md +102 -0
  811. data/node_modules/preact-render-to-string/dist/commonjs.js +2 -0
  812. data/node_modules/preact-render-to-string/dist/commonjs.js.map +1 -0
  813. data/node_modules/preact-render-to-string/dist/index.d.ts +16 -0
  814. data/node_modules/preact-render-to-string/dist/index.js +1 -0
  815. data/node_modules/preact-render-to-string/dist/index.js.map +1 -0
  816. data/node_modules/preact-render-to-string/dist/index.mjs +2 -0
  817. data/node_modules/preact-render-to-string/dist/index.module.js +2 -0
  818. data/node_modules/preact-render-to-string/dist/index.module.js.map +1 -0
  819. data/node_modules/preact-render-to-string/dist/jsx-entry.js +2 -0
  820. data/node_modules/preact-render-to-string/dist/jsx-entry.js.map +1 -0
  821. data/node_modules/preact-render-to-string/dist/jsx.d.ts +13 -0
  822. data/node_modules/preact-render-to-string/dist/jsx.js +1 -0
  823. data/node_modules/preact-render-to-string/dist/jsx.js.map +1 -0
  824. data/node_modules/preact-render-to-string/dist/jsx.mjs +2 -0
  825. data/node_modules/preact-render-to-string/dist/jsx.modern.js +2 -0
  826. data/node_modules/preact-render-to-string/dist/jsx.modern.js.map +1 -0
  827. data/node_modules/preact-render-to-string/dist/jsx.module.js +2 -0
  828. data/node_modules/preact-render-to-string/dist/jsx.module.js.map +1 -0
  829. data/node_modules/preact-render-to-string/dist/preact-render-to-string-tests.d.ts +1 -0
  830. data/node_modules/preact-render-to-string/jsx.js +1 -0
  831. data/node_modules/preact-render-to-string/package.json +139 -0
  832. data/node_modules/preact-render-to-string/src/index.d.ts +16 -0
  833. data/node_modules/preact-render-to-string/src/index.js +438 -0
  834. data/node_modules/preact-render-to-string/src/jsx.d.ts +13 -0
  835. data/node_modules/preact-render-to-string/src/jsx.js +76 -0
  836. data/node_modules/preact-render-to-string/src/polyfills.js +8 -0
  837. data/node_modules/preact-render-to-string/src/preact-render-to-string-tests.d.ts +1 -0
  838. data/node_modules/preact-render-to-string/src/util.js +78 -0
  839. data/node_modules/preact-render-to-string/typings.json +5 -0
  840. data/node_modules/pretty-format/.npmignore +3 -0
  841. data/node_modules/pretty-format/LICENSE.md +15 -0
  842. data/node_modules/pretty-format/README.md +94 -0
  843. data/node_modules/pretty-format/index.js +343 -0
  844. data/node_modules/pretty-format/package.json +26 -0
  845. data/node_modules/pretty-format/plugins/ReactElement.js +74 -0
  846. data/node_modules/pretty-format/plugins/ReactTestComponent.js +58 -0
  847. data/node_modules/pretty-format/printString.js +7 -0
  848. data/node_modules/react/LICENSE +21 -0
  849. data/node_modules/react/README.md +13 -0
  850. data/node_modules/react/build-info.json +8 -0
  851. data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1203 -0
  852. data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
  853. data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +9 -0
  854. data/node_modules/react/cjs/react-jsx-runtime.development.js +1221 -0
  855. data/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
  856. data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +10 -0
  857. data/node_modules/react/cjs/react.development.js +2333 -0
  858. data/node_modules/react/cjs/react.production.min.js +23 -0
  859. data/node_modules/react/index.js +7 -0
  860. data/node_modules/react/jsx-dev-runtime.js +7 -0
  861. data/node_modules/react/jsx-runtime.js +7 -0
  862. data/node_modules/react/package.json +39 -0
  863. data/node_modules/react/umd/react.development.js +3357 -0
  864. data/node_modules/react/umd/react.production.min.js +31 -0
  865. data/node_modules/react/umd/react.profiling.min.js +36 -0
  866. data/node_modules/react-dom/LICENSE +21 -0
  867. data/node_modules/react-dom/README.md +54 -0
  868. data/node_modules/react-dom/build-info.json +8 -0
  869. data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4342 -0
  870. data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +51 -0
  871. data/node_modules/react-dom/cjs/react-dom-server.node.development.js +4383 -0
  872. data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +52 -0
  873. data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +2118 -0
  874. data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +43 -0
  875. data/node_modules/react-dom/cjs/react-dom.development.js +26262 -0
  876. data/node_modules/react-dom/cjs/react-dom.production.min.js +297 -0
  877. data/node_modules/react-dom/cjs/react-dom.profiling.min.js +310 -0
  878. data/node_modules/react-dom/index.js +38 -0
  879. data/node_modules/react-dom/package.json +49 -0
  880. data/node_modules/react-dom/profiling.js +38 -0
  881. data/node_modules/react-dom/server.browser.js +7 -0
  882. data/node_modules/react-dom/server.js +3 -0
  883. data/node_modules/react-dom/server.node.js +7 -0
  884. data/node_modules/react-dom/test-utils.js +7 -0
  885. data/node_modules/react-dom/umd/react-dom-server.browser.development.js +4341 -0
  886. data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +46 -0
  887. data/node_modules/react-dom/umd/react-dom-test-utils.development.js +2136 -0
  888. data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +35 -0
  889. data/node_modules/react-dom/umd/react-dom.development.js +26292 -0
  890. data/node_modules/react-dom/umd/react-dom.production.min.js +245 -0
  891. data/node_modules/react-dom/umd/react-dom.profiling.min.js +252 -0
  892. data/node_modules/regenerator-runtime/LICENSE +21 -0
  893. data/node_modules/regenerator-runtime/README.md +31 -0
  894. data/node_modules/regenerator-runtime/package.json +19 -0
  895. data/node_modules/regenerator-runtime/path.js +11 -0
  896. data/node_modules/regenerator-runtime/runtime.js +754 -0
  897. data/node_modules/rtl-css-js/CHANGELOG.md +5 -0
  898. data/node_modules/rtl-css-js/LICENSE +20 -0
  899. data/node_modules/rtl-css-js/README.md +205 -0
  900. data/node_modules/rtl-css-js/core/package.json +6 -0
  901. data/node_modules/rtl-css-js/core.d.ts +163 -0
  902. data/node_modules/rtl-css-js/core.esm.d.ts +1 -0
  903. data/node_modules/rtl-css-js/core.esm.js +9 -0
  904. data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +509 -0
  905. data/node_modules/rtl-css-js/dist/cjs/core.js +30 -0
  906. data/node_modules/rtl-css-js/dist/cjs/index.js +7 -0
  907. data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +487 -0
  908. data/node_modules/rtl-css-js/dist/esm/core.js +1 -0
  909. data/node_modules/rtl-css-js/dist/esm/index.js +5 -0
  910. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +519 -0
  911. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +1 -0
  912. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +2 -0
  913. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +1 -0
  914. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +496 -0
  915. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +1 -0
  916. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +2 -0
  917. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +1 -0
  918. data/node_modules/rtl-css-js/package.json +66 -0
  919. data/node_modules/rtl-css-js/types.d.ts +8 -0
  920. data/node_modules/scheduler/LICENSE +21 -0
  921. data/node_modules/scheduler/README.md +9 -0
  922. data/node_modules/scheduler/build-info.json +8 -0
  923. data/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
  924. data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
  925. data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
  926. data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
  927. data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
  928. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
  929. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
  930. data/node_modules/scheduler/cjs/scheduler.development.js +646 -0
  931. data/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
  932. data/node_modules/scheduler/index.js +7 -0
  933. data/node_modules/scheduler/package.json +40 -0
  934. data/node_modules/scheduler/tracing-profiling.js +7 -0
  935. data/node_modules/scheduler/tracing.js +7 -0
  936. data/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  937. data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  938. data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  939. data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
  940. data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
  941. data/node_modules/scheduler/umd/scheduler.development.js +152 -0
  942. data/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  943. data/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  944. data/node_modules/scheduler/unstable_mock.js +7 -0
  945. data/node_modules/scheduler/unstable_post_task.js +7 -0
  946. data/node_modules/source-map/CHANGELOG.md +301 -0
  947. data/node_modules/source-map/LICENSE +28 -0
  948. data/node_modules/source-map/README.md +742 -0
  949. data/node_modules/source-map/dist/source-map.debug.js +3234 -0
  950. data/node_modules/source-map/dist/source-map.js +3233 -0
  951. data/node_modules/source-map/dist/source-map.min.js +2 -0
  952. data/node_modules/source-map/dist/source-map.min.js.map +1 -0
  953. data/node_modules/source-map/lib/array-set.js +121 -0
  954. data/node_modules/source-map/lib/base64-vlq.js +140 -0
  955. data/node_modules/source-map/lib/base64.js +67 -0
  956. data/node_modules/source-map/lib/binary-search.js +111 -0
  957. data/node_modules/source-map/lib/mapping-list.js +79 -0
  958. data/node_modules/source-map/lib/quick-sort.js +114 -0
  959. data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  960. data/node_modules/source-map/lib/source-map-generator.js +425 -0
  961. data/node_modules/source-map/lib/source-node.js +413 -0
  962. data/node_modules/source-map/lib/util.js +488 -0
  963. data/node_modules/source-map/package.json +73 -0
  964. data/node_modules/source-map/source-map.d.ts +98 -0
  965. data/node_modules/source-map/source-map.js +8 -0
  966. data/node_modules/sourcemap-codec/CHANGELOG.md +64 -0
  967. data/node_modules/sourcemap-codec/LICENSE +21 -0
  968. data/node_modules/sourcemap-codec/README.md +63 -0
  969. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +124 -0
  970. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -0
  971. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +135 -0
  972. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  973. data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
  974. data/node_modules/sourcemap-codec/package.json +53 -0
  975. data/node_modules/stack-generator/.eslintrc.yml +32 -0
  976. data/node_modules/stack-generator/CHANGELOG.md +18 -0
  977. data/node_modules/stack-generator/CONTRIBUTING.md +27 -0
  978. data/node_modules/stack-generator/LICENSE +19 -0
  979. data/node_modules/stack-generator/README.md +28 -0
  980. data/node_modules/stack-generator/bower.json +33 -0
  981. data/node_modules/stack-generator/component.json +17 -0
  982. data/node_modules/stack-generator/dist/stack-generator.js +45 -0
  983. data/node_modules/stack-generator/dist/stack-generator.min.js +2 -0
  984. data/node_modules/stack-generator/dist/stack-generator.min.js.map +1 -0
  985. data/node_modules/stack-generator/karma.conf.ci.js +108 -0
  986. data/node_modules/stack-generator/karma.conf.js +26 -0
  987. data/node_modules/stack-generator/package.json +53 -0
  988. data/node_modules/stack-generator/stack-generator.js +45 -0
  989. data/node_modules/stackframe/.eslintrc.yml +29 -0
  990. data/node_modules/stackframe/CHANGELOG.md +39 -0
  991. data/node_modules/stackframe/CONTRIBUTING.md +28 -0
  992. data/node_modules/stackframe/LICENSE +19 -0
  993. data/node_modules/stackframe/README.md +78 -0
  994. data/node_modules/stackframe/bower.json +31 -0
  995. data/node_modules/stackframe/component.json +16 -0
  996. data/node_modules/stackframe/dist/stackframe.js +143 -0
  997. data/node_modules/stackframe/dist/stackframe.min.js +2 -0
  998. data/node_modules/stackframe/dist/stackframe.min.js.map +1 -0
  999. data/node_modules/stackframe/karma.conf.ci.js +105 -0
  1000. data/node_modules/stackframe/karma.conf.js +23 -0
  1001. data/node_modules/stackframe/package.json +51 -0
  1002. data/node_modules/stackframe/stackframe-tests.ts +47 -0
  1003. data/node_modules/stackframe/stackframe.d.ts +74 -0
  1004. data/node_modules/stackframe/stackframe.js +143 -0
  1005. data/node_modules/stacktrace-gps/CHANGELOG.md +60 -0
  1006. data/node_modules/stacktrace-gps/LICENSE +19 -0
  1007. data/node_modules/stacktrace-gps/README.md +89 -0
  1008. data/node_modules/stacktrace-gps/dist/polyfills.js +5 -0
  1009. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +2 -0
  1010. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +1 -0
  1011. data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +342 -0
  1012. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +2 -0
  1013. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +1 -0
  1014. data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +301 -0
  1015. data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +28 -0
  1016. data/node_modules/stacktrace-gps/node_modules/source-map/README.md +729 -0
  1017. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +3056 -0
  1018. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +3055 -0
  1019. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +2 -0
  1020. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +1 -0
  1021. data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +104 -0
  1022. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +140 -0
  1023. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +67 -0
  1024. data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +111 -0
  1025. data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +79 -0
  1026. data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +114 -0
  1027. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +1082 -0
  1028. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +404 -0
  1029. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +407 -0
  1030. data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +417 -0
  1031. data/node_modules/stacktrace-gps/node_modules/source-map/package.json +71 -0
  1032. data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +8 -0
  1033. data/node_modules/stacktrace-gps/package.json +66 -0
  1034. data/node_modules/stacktrace-gps/stacktrace-gps.js +342 -0
  1035. data/node_modules/stacktrace-js/CHANGELOG.md +97 -0
  1036. data/node_modules/stacktrace-js/LICENSE +19 -0
  1037. data/node_modules/stacktrace-js/README.md +186 -0
  1038. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +5405 -0
  1039. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +3 -0
  1040. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +1 -0
  1041. data/node_modules/stacktrace-js/dist/stacktrace.js +3025 -0
  1042. data/node_modules/stacktrace-js/dist/stacktrace.min.js +2 -0
  1043. data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +1 -0
  1044. data/node_modules/stacktrace-js/package.json +82 -0
  1045. data/node_modules/stacktrace-js/stacktrace-js.d.ts +134 -0
  1046. data/node_modules/stacktrace-js/stacktrace.js +227 -0
  1047. data/node_modules/stylis/LICENSE +21 -0
  1048. data/node_modules/stylis/README.md +152 -0
  1049. data/node_modules/stylis/dist/stylis.mjs +2 -0
  1050. data/node_modules/stylis/dist/stylis.mjs.map +1 -0
  1051. data/node_modules/stylis/dist/umd/package.json +1 -0
  1052. data/node_modules/stylis/dist/umd/stylis.js +2 -0
  1053. data/node_modules/stylis/dist/umd/stylis.js.map +1 -0
  1054. data/node_modules/stylis/index.js +7 -0
  1055. data/node_modules/stylis/package.json +164 -0
  1056. data/node_modules/stylis/src/Enum.js +20 -0
  1057. data/node_modules/stylis/src/Middleware.js +107 -0
  1058. data/node_modules/stylis/src/Parser.js +184 -0
  1059. data/node_modules/stylis/src/Prefixer.js +119 -0
  1060. data/node_modules/stylis/src/Serializer.js +34 -0
  1061. data/node_modules/stylis/src/Tokenizer.js +244 -0
  1062. data/node_modules/stylis/src/Utility.js +109 -0
  1063. data/node_modules/wouter-preact/cjs/index.js +180 -0
  1064. data/node_modules/wouter-preact/cjs/matcher.js +72 -0
  1065. data/node_modules/wouter-preact/cjs/package.json +1 -0
  1066. data/node_modules/wouter-preact/cjs/react-deps.js +75 -0
  1067. data/node_modules/wouter-preact/cjs/static-location.js +21 -0
  1068. data/node_modules/wouter-preact/cjs/use-location.js +94 -0
  1069. data/node_modules/wouter-preact/index.d.ts +110 -0
  1070. data/node_modules/wouter-preact/index.js +178 -0
  1071. data/node_modules/wouter-preact/matcher.d.ts +30 -0
  1072. data/node_modules/wouter-preact/matcher.js +66 -0
  1073. data/node_modules/wouter-preact/package.json +33 -0
  1074. data/node_modules/wouter-preact/react-deps.js +15 -0
  1075. data/node_modules/wouter-preact/static-location.d.ts +16 -0
  1076. data/node_modules/wouter-preact/static-location.js +17 -0
  1077. data/node_modules/wouter-preact/use-location.d.ts +43 -0
  1078. data/node_modules/wouter-preact/use-location.js +86 -0
  1079. data/package.json +10 -0
  1080. metadata +1097 -24
@@ -0,0 +1,52 @@
1
+ /** @license React v17.0.2
2
+ * react-dom-server.node.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ 'use strict';var l=require("object-assign"),n=require("react"),aa=require("stream");function p(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}
10
+ var q=60106,r=60107,u=60108,z=60114,B=60109,ba=60110,ca=60112,D=60113,da=60120,ea=60115,fa=60116,ha=60121,ia=60117,ja=60119,ka=60129,la=60131;
11
+ if("function"===typeof Symbol&&Symbol.for){var E=Symbol.for;q=E("react.portal");r=E("react.fragment");u=E("react.strict_mode");z=E("react.profiler");B=E("react.provider");ba=E("react.context");ca=E("react.forward_ref");D=E("react.suspense");da=E("react.suspense_list");ea=E("react.memo");fa=E("react.lazy");ha=E("react.block");ia=E("react.fundamental");ja=E("react.scope");ka=E("react.debug_trace_mode");la=E("react.legacy_hidden")}
12
+ function F(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case r:return"Fragment";case q:return"Portal";case z:return"Profiler";case u:return"StrictMode";case D:return"Suspense";case da:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ba:return(a.displayName||"Context")+".Consumer";case B:return(a._context.displayName||"Context")+".Provider";case ca:var b=a.render;b=b.displayName||b.name||"";return a.displayName||
13
+ (""!==b?"ForwardRef("+b+")":"ForwardRef");case ea:return F(a.type);case ha:return F(a._render);case fa:b=a._payload;a=a._init;try{return F(a(b))}catch(c){}}return null}var ma=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,na={};function I(a,b){for(var c=a._threadCount|0;c<=b;c++)a[c]=a._currentValue2,a._threadCount=c+1}function oa(a,b,c,d){if(d&&(d=a.contextType,"object"===typeof d&&null!==d))return I(d,c),d[c];if(a=a.contextTypes){c={};for(var f in a)c[f]=b[f];b=c}else b=na;return b}
14
+ for(var J=new Uint16Array(16),K=0;15>K;K++)J[K]=K+1;J[15]=0;var pa=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qa=Object.prototype.hasOwnProperty,ra={},sa={};
15
+ function ta(a){if(qa.call(sa,a))return!0;if(qa.call(ra,a))return!1;if(pa.test(a))return sa[a]=!0;ra[a]=!0;return!1}function ua(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
16
+ function va(a,b,c,d){if(null===b||"undefined"===typeof b||ua(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function M(a,b,c,d,f,h,t){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=h;this.removeEmptyString=t}var N={};
17
+ "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){N[a]=new M(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];N[b]=new M(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){N[a]=new M(a,2,!1,a.toLowerCase(),null,!1,!1)});
18
+ ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){N[a]=new M(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){N[a]=new M(a,3,!1,a.toLowerCase(),null,!1,!1)});
19
+ ["checked","multiple","muted","selected"].forEach(function(a){N[a]=new M(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){N[a]=new M(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){N[a]=new M(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){N[a]=new M(a,5,!1,a.toLowerCase(),null,!1,!1)});var wa=/[\-:]([a-z])/g;function xa(a){return a[1].toUpperCase()}
20
+ "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(wa,
21
+ xa);N[b]=new M(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(wa,xa);N[b]=new M(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(wa,xa);N[b]=new M(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){N[a]=new M(a,1,!1,a.toLowerCase(),null,!1,!1)});
22
+ N.xlinkHref=new M("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){N[a]=new M(a,1,!1,a.toLowerCase(),null,!0,!0)});var ya=/["'&<>]/;
23
+ function O(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ya.exec(a);if(b){var c="",d,f=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}f!==d&&(c+=a.substring(f,d));f=d+1;c+=b}a=f!==d?c+a.substring(f,d):c}return a}
24
+ function za(a,b){var c=N.hasOwnProperty(a)?N[a]:null;var d;if(d="style"!==a)d=null!==c?0===c.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(d||va(a,b,c,!1))return"";if(null!==c){a=c.attributeName;d=c.type;if(3===d||4===d&&!0===b)return a+'=""';c.sanitizeURL&&(b=""+b);return a+'="'+(O(b)+'"')}return ta(a)?a+'="'+(O(b)+'"'):""}function Aa(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}
25
+ var Ba="function"===typeof Object.is?Object.is:Aa,P=null,Q=null,R=null,S=!1,T=!1,U=null,V=0;function W(){if(null===P)throw Error(p(321));return P}function Ca(){if(0<V)throw Error(p(312));return{memoizedState:null,queue:null,next:null}}function Da(){null===R?null===Q?(S=!1,Q=R=Ca()):(S=!0,R=Q):null===R.next?(S=!1,R=R.next=Ca()):(S=!0,R=R.next);return R}function Ea(a,b,c,d){for(;T;)T=!1,V+=1,R=null,c=a(b,d);Fa();return c}function Fa(){P=null;T=!1;Q=null;V=0;R=U=null}
26
+ function Ga(a,b){return"function"===typeof b?b(a):b}function Ha(a,b,c){P=W();R=Da();if(S){var d=R.queue;b=d.dispatch;if(null!==U&&(c=U.get(d),void 0!==c)){U.delete(d);d=R.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);R.memoizedState=d;return[d,b]}return[R.memoizedState,b]}a=a===Ga?"function"===typeof b?b():b:void 0!==c?c(b):b;R.memoizedState=a;a=R.queue={last:null,dispatch:null};a=a.dispatch=Ia.bind(null,P,a);return[R.memoizedState,a]}
27
+ function Ja(a,b){P=W();R=Da();b=void 0===b?null:b;if(null!==R){var c=R.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var f=0;f<d.length&&f<b.length;f++)if(!Ba(b[f],d[f])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();R.memoizedState=[a,b];return a}function Ia(a,b,c){if(!(25>V))throw Error(p(301));if(a===P)if(T=!0,a={action:c,next:null},null===U&&(U=new Map),c=U.get(b),void 0===c)U.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function Ka(){}
28
+ var X=null,La={readContext:function(a){var b=X.threadID;I(a,b);return a[b]},useContext:function(a){W();var b=X.threadID;I(a,b);return a[b]},useMemo:Ja,useReducer:Ha,useRef:function(a){P=W();R=Da();var b=R.memoizedState;return null===b?(a={current:a},R.memoizedState=a):b},useState:function(a){return Ha(Ga,a)},useLayoutEffect:function(){},useCallback:function(a,b){return Ja(function(){return a},b)},useImperativeHandle:Ka,useEffect:Ka,useDebugValue:Ka,useDeferredValue:function(a){W();return a},useTransition:function(){W();
29
+ return[function(a){a()},!1]},useOpaqueIdentifier:function(){return(X.identifierPrefix||"")+"R:"+(X.uniqueID++).toString(36)},useMutableSource:function(a,b){W();return b(a._source)}},Ma={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Na(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}
30
+ var Oa={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Pa=l({menuitem:!0},Oa),Y={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,
31
+ gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qa=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(a){Qa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Y[b]=Y[a]})});
32
+ var Ra=/([A-Z])/g,Sa=/^ms-/,Z=n.Children.toArray,Ta=ma.ReactCurrentDispatcher,Ua={listing:!0,pre:!0,textarea:!0},Va=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Wa={},Xa={};function Ya(a){if(void 0===a||null===a)return a;var b="";n.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}var Za=Object.prototype.hasOwnProperty,$a={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ab(a,b){if(void 0===a)throw Error(p(152,F(b)||"Component"));}
33
+ function bb(a,b,c){function d(d,h){var e=h.prototype&&h.prototype.isReactComponent,f=oa(h,b,c,e),t=[],g=!1,m={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===t)return null},enqueueReplaceState:function(a,b){g=!0;t=[b]},enqueueSetState:function(a,b){if(null===t)return null;t.push(b)}};if(e){if(e=new h(d.props,f,m),"function"===typeof h.getDerivedStateFromProps){var k=h.getDerivedStateFromProps.call(null,d.props,e.state);null!=k&&(e.state=l({},e.state,k))}}else if(P={},e=h(d.props,
34
+ f,m),e=Ea(h,d.props,e,f),null==e||null==e.render){a=e;ab(a,h);return}e.props=d.props;e.context=f;e.updater=m;m=e.state;void 0===m&&(e.state=m=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),t.length){m=t;var v=
35
+ g;t=null;g=!1;if(v&&1===m.length)e.state=m[0];else{k=v?m[0]:e.state;var H=!0;for(v=v?1:0;v<m.length;v++){var x=m[v];x="function"===typeof x?x.call(e,k,d.props,f):x;null!=x&&(H?(H=!1,k=l({},k,x)):l(k,x))}e.state=k}}else t=null;a=e.render();ab(a,h);if("function"===typeof e.getChildContext&&(d=h.childContextTypes,"object"===typeof d)){var y=e.getChildContext();for(var A in y)if(!(A in d))throw Error(p(108,F(h)||"Unknown",A));}y&&(b=l({},b,y))}for(;n.isValidElement(a);){var f=a,h=f.type;if("function"!==
36
+ typeof h)break;d(f,h)}return{child:a,context:b}}
37
+ var cb=function(){function a(a,b,f){n.isValidElement(a)?a.type!==r?a=[a]:(a=a.props.children,a=n.isValidElement(a)?[a]:Z(a)):a=Z(a);a={type:null,domNamespace:Ma.html,children:a,childIndex:0,context:na,footer:""};var c=J[0];if(0===c){var d=J;c=d.length;var g=2*c;if(!(65536>=g))throw Error(p(304));var e=new Uint16Array(g);e.set(d);J=e;J[0]=c+1;for(d=c;d<g-1;d++)J[d]=d+1;J[g-1]=0}else J[0]=J[c];this.threadID=c;this.stack=[a];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;
38
+ this.makeStaticMarkup=b;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[];this.uniqueID=0;this.identifierPrefix=f&&f.identifierPrefix||""}var b=a.prototype;b.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;J[a]=J[0];J[0]=a}};b.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,h=this.threadID;I(c,h);var t=c[h];this.contextStack[b]=c;this.contextValueStack[b]=t;c[h]=a.props.value};b.popProvider=
39
+ function(){var a=this.contextIndex,b=this.contextStack[a],f=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=f};b.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};b.read=function(a){if(this.exhausted)return null;var b=X;X=this;var c=Ta.current;Ta.current=La;try{for(var h=[""],t=!1;h[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var g=this.threadID;
40
+ J[g]=J[0];J[0]=g;break}var e=this.stack[this.stack.length-1];if(t||e.childIndex>=e.children.length){var L=e.footer;""!==L&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===e.type)this.currentSelectValue=null;else if(null!=e.type&&null!=e.type.type&&e.type.type.$$typeof===B)this.popProvider(e.type);else if(e.type===D){this.suspenseDepth--;var G=h.pop();if(t){t=!1;var C=e.fallbackFrame;if(!C)throw Error(p(303));this.stack.push(C);h[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else h[this.suspenseDepth]+=
41
+ G}h[this.suspenseDepth]+=L}else{var m=e.children[e.childIndex++],k="";try{k+=this.render(m,e.context,e.domNamespace)}catch(v){if(null!=v&&"function"===typeof v.then)throw Error(p(294));throw v;}finally{}h.length<=this.suspenseDepth&&h.push("");h[this.suspenseDepth]+=k}}return h[0]}finally{Ta.current=c,X=b,Fa()}};b.render=function(a,b,f){if("string"===typeof a||"number"===typeof a){f=""+a;if(""===f)return"";if(this.makeStaticMarkup)return O(f);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+O(f);
42
+ this.previousWasTextNode=!0;return O(f)}b=bb(a,b,this.threadID);a=b.child;b=b.context;if(null===a||!1===a)return"";if(!n.isValidElement(a)){if(null!=a&&null!=a.$$typeof){f=a.$$typeof;if(f===q)throw Error(p(257));throw Error(p(258,f.toString()));}a=Z(a);this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:""});return""}var c=a.type;if("string"===typeof c)return this.renderDOM(a,b,f);switch(c){case la:case ka:case u:case z:case da:case r:return a=Z(a.props.children),this.stack.push({type:null,
43
+ domNamespace:f,children:a,childIndex:0,context:b,footer:""}),"";case D:throw Error(p(294));case ja:throw Error(p(343));}if("object"===typeof c&&null!==c)switch(c.$$typeof){case ca:P={};var d=c.render(a.props,a.ref);d=Ea(c.render,a.props,d,a.ref);d=Z(d);this.stack.push({type:null,domNamespace:f,children:d,childIndex:0,context:b,footer:""});return"";case ea:return a=[n.createElement(c.type,l({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,context:b,footer:""}),
44
+ "";case B:return c=Z(a.props.children),f={type:a,domNamespace:f,children:c,childIndex:0,context:b,footer:""},this.pushProvider(a),this.stack.push(f),"";case ba:c=a.type;d=a.props;var g=this.threadID;I(c,g);c=Z(d.children(c[g]));this.stack.push({type:a,domNamespace:f,children:c,childIndex:0,context:b,footer:""});return"";case ia:throw Error(p(338));case fa:return c=a.type,d=c._init,c=d(c._payload),a=[n.createElement(c,l({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:f,children:a,childIndex:0,
45
+ context:b,footer:""}),""}throw Error(p(130,null==c?c:typeof c,""));};b.renderDOM=function(a,b,f){var c=a.type.toLowerCase();f===Ma.html&&Na(c);if(!Wa.hasOwnProperty(c)){if(!Va.test(c))throw Error(p(65,c));Wa[c]=!0}var d=a.props;if("input"===c)d=l({type:void 0},d,{defaultChecked:void 0,defaultValue:void 0,value:null!=d.value?d.value:d.defaultValue,checked:null!=d.checked?d.checked:d.defaultChecked});else if("textarea"===c){var g=d.value;if(null==g){g=d.defaultValue;var e=d.children;if(null!=e){if(null!=
46
+ g)throw Error(p(92));if(Array.isArray(e)){if(!(1>=e.length))throw Error(p(93));e=e[0]}g=""+e}null==g&&(g="")}d=l({},d,{value:void 0,children:""+g})}else if("select"===c)this.currentSelectValue=null!=d.value?d.value:d.defaultValue,d=l({},d,{value:void 0});else if("option"===c){e=this.currentSelectValue;var L=Ya(d.children);if(null!=e){var G=null!=d.value?d.value+"":L;g=!1;if(Array.isArray(e))for(var C=0;C<e.length;C++){if(""+e[C]===G){g=!0;break}}else g=""+e===G;d=l({selected:void 0,children:void 0},
47
+ d,{selected:g,children:L})}}if(g=d){if(Pa[c]&&(null!=g.children||null!=g.dangerouslySetInnerHTML))throw Error(p(137,c));if(null!=g.dangerouslySetInnerHTML){if(null!=g.children)throw Error(p(60));if(!("object"===typeof g.dangerouslySetInnerHTML&&"__html"in g.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=g.style&&"object"!==typeof g.style)throw Error(p(62));}g=d;e=this.makeStaticMarkup;L=1===this.stack.length;G="<"+a.type;b:if(-1===c.indexOf("-"))C="string"===typeof g.is;else switch(c){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":C=
48
+ !1;break b;default:C=!0}for(w in g)if(Za.call(g,w)){var m=g[w];if(null!=m){if("style"===w){var k=void 0,v="",H="";for(k in m)if(m.hasOwnProperty(k)){var x=0===k.indexOf("--"),y=m[k];if(null!=y){if(x)var A=k;else if(A=k,Xa.hasOwnProperty(A))A=Xa[A];else{var eb=A.replace(Ra,"-$1").toLowerCase().replace(Sa,"-ms-");A=Xa[A]=eb}v+=H+A+":";H=k;x=null==y||"boolean"===typeof y||""===y?"":x||"number"!==typeof y||0===y||Y.hasOwnProperty(H)&&Y[H]?(""+y).trim():y+"px";v+=x;H=";"}}m=v||null}k=null;C?$a.hasOwnProperty(w)||
49
+ (k=w,k=ta(k)&&null!=m?k+'="'+(O(m)+'"'):""):k=za(w,m);k&&(G+=" "+k)}}e||L&&(G+=' data-reactroot=""');var w=G;g="";Oa.hasOwnProperty(c)?w+="/>":(w+=">",g="</"+a.type+">");a:{e=d.dangerouslySetInnerHTML;if(null!=e){if(null!=e.__html){e=e.__html;break a}}else if(e=d.children,"string"===typeof e||"number"===typeof e){e=O(e);break a}e=null}null!=e?(d=[],Ua.hasOwnProperty(c)&&"\n"===e.charAt(0)&&(w+="\n"),w+=e):d=Z(d.children);a=a.type;f=null==f||"http://www.w3.org/1999/xhtml"===f?Na(a):"http://www.w3.org/2000/svg"===
50
+ f&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":f;this.stack.push({domNamespace:f,type:c,children:d,childIndex:0,context:b,footer:g});this.previousWasTextNode=!1;return w};return a}();function db(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}
51
+ var fb=function(a){function b(b,c,h){var d=a.call(this,{})||this;d.partialRenderer=new cb(b,c,h);return d}db(b,a);var c=b.prototype;c._destroy=function(a,b){this.partialRenderer.destroy();b(a)};c._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(f){this.destroy(f)}};return b}(aa.Readable);exports.renderToNodeStream=function(a,b){return new fb(a,!1,b)};exports.renderToStaticMarkup=function(a,b){a=new cb(a,!0,b);try{return a.read(Infinity)}finally{a.destroy()}};
52
+ exports.renderToStaticNodeStream=function(a,b){return new fb(a,!0,b)};exports.renderToString=function(a,b){a=new cb(a,!1,b);try{return a.read(Infinity)}finally{a.destroy()}};exports.version="17.0.2";
@@ -0,0 +1,2118 @@
1
+ /** @license React v17.0.2
2
+ * react-dom-test-utils.development.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';
11
+
12
+ if (process.env.NODE_ENV !== "production") {
13
+ (function() {
14
+ 'use strict';
15
+
16
+ var _assign = require('object-assign');
17
+ var React = require('react');
18
+ var ReactDOM = require('react-dom');
19
+ var Scheduler = require('scheduler');
20
+
21
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
22
+
23
+ // by calls to these methods by a Babel plugin.
24
+ //
25
+ // In PROD (or in packages without access to React internals),
26
+ // they are left as they are instead.
27
+
28
+ function warn(format) {
29
+ {
30
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
31
+ args[_key - 1] = arguments[_key];
32
+ }
33
+
34
+ printWarning('warn', format, args);
35
+ }
36
+ }
37
+ function error(format) {
38
+ {
39
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
40
+ args[_key2 - 1] = arguments[_key2];
41
+ }
42
+
43
+ printWarning('error', format, args);
44
+ }
45
+ }
46
+
47
+ function printWarning(level, format, args) {
48
+ // When changing this logic, you might want to also
49
+ // update consoleWithStackDev.www.js as well.
50
+ {
51
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
52
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
53
+
54
+ if (stack !== '') {
55
+ format += '%s';
56
+ args = args.concat([stack]);
57
+ }
58
+
59
+ var argsWithFormat = args.map(function (item) {
60
+ return '' + item;
61
+ }); // Careful: RN currently depends on this prefix
62
+
63
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
64
+ // breaks IE9: https://github.com/facebook/react/issues/13610
65
+ // eslint-disable-next-line react-internal/no-production-logging
66
+
67
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
68
+ }
69
+ }
70
+
71
+ /**
72
+ * `ReactInstanceMap` maintains a mapping from a public facing stateful
73
+ * instance (key) and the internal representation (value). This allows public
74
+ * methods to accept the user facing instance as an argument and map them back
75
+ * to internal methods.
76
+ *
77
+ * Note that this module is currently shared and assumed to be stateless.
78
+ * If this becomes an actual Map, that will break.
79
+ */
80
+ function get(key) {
81
+ return key._reactInternals;
82
+ }
83
+
84
+ // ATTENTION
85
+ // When adding new symbols to this file,
86
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
87
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
88
+ // nor polyfill, then a plain number is used for performance.
89
+ var REACT_ELEMENT_TYPE = 0xeac7;
90
+ var REACT_PORTAL_TYPE = 0xeaca;
91
+ var REACT_FRAGMENT_TYPE = 0xeacb;
92
+ var REACT_STRICT_MODE_TYPE = 0xeacc;
93
+ var REACT_PROFILER_TYPE = 0xead2;
94
+ var REACT_PROVIDER_TYPE = 0xeacd;
95
+ var REACT_CONTEXT_TYPE = 0xeace;
96
+ var REACT_FORWARD_REF_TYPE = 0xead0;
97
+ var REACT_SUSPENSE_TYPE = 0xead1;
98
+ var REACT_SUSPENSE_LIST_TYPE = 0xead8;
99
+ var REACT_MEMO_TYPE = 0xead3;
100
+ var REACT_LAZY_TYPE = 0xead4;
101
+ var REACT_BLOCK_TYPE = 0xead9;
102
+ var REACT_SERVER_BLOCK_TYPE = 0xeada;
103
+ var REACT_FUNDAMENTAL_TYPE = 0xead5;
104
+ var REACT_SCOPE_TYPE = 0xead7;
105
+ var REACT_OPAQUE_ID_TYPE = 0xeae0;
106
+ var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
107
+ var REACT_OFFSCREEN_TYPE = 0xeae2;
108
+ var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
109
+
110
+ if (typeof Symbol === 'function' && Symbol.for) {
111
+ var symbolFor = Symbol.for;
112
+ REACT_ELEMENT_TYPE = symbolFor('react.element');
113
+ REACT_PORTAL_TYPE = symbolFor('react.portal');
114
+ REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
115
+ REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
116
+ REACT_PROFILER_TYPE = symbolFor('react.profiler');
117
+ REACT_PROVIDER_TYPE = symbolFor('react.provider');
118
+ REACT_CONTEXT_TYPE = symbolFor('react.context');
119
+ REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
120
+ REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
121
+ REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
122
+ REACT_MEMO_TYPE = symbolFor('react.memo');
123
+ REACT_LAZY_TYPE = symbolFor('react.lazy');
124
+ REACT_BLOCK_TYPE = symbolFor('react.block');
125
+ REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
126
+ REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
127
+ REACT_SCOPE_TYPE = symbolFor('react.scope');
128
+ REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
129
+ REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
130
+ REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
131
+ REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
132
+ }
133
+
134
+ var FunctionComponent = 0;
135
+ var ClassComponent = 1;
136
+
137
+ var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
138
+
139
+ var HostComponent = 5;
140
+ var HostText = 6;
141
+
142
+ // Don't change these two values. They're used by React Dev Tools.
143
+ var NoFlags =
144
+ /* */
145
+ 0;
146
+
147
+ var Placement =
148
+ /* */
149
+ 2;
150
+ var Hydrating =
151
+ /* */
152
+ 1024;
153
+
154
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
155
+ function getNearestMountedFiber(fiber) {
156
+ var node = fiber;
157
+ var nearestMounted = fiber;
158
+
159
+ if (!fiber.alternate) {
160
+ // If there is no alternate, this might be a new tree that isn't inserted
161
+ // yet. If it is, then it will have a pending insertion effect on it.
162
+ var nextNode = node;
163
+
164
+ do {
165
+ node = nextNode;
166
+
167
+ if ((node.flags & (Placement | Hydrating)) !== NoFlags) {
168
+ // This is an insertion or in-progress hydration. The nearest possible
169
+ // mounted fiber is the parent but we need to continue to figure out
170
+ // if that one is still mounted.
171
+ nearestMounted = node.return;
172
+ }
173
+
174
+ nextNode = node.return;
175
+ } while (nextNode);
176
+ } else {
177
+ while (node.return) {
178
+ node = node.return;
179
+ }
180
+ }
181
+
182
+ if (node.tag === HostRoot) {
183
+ // TODO: Check if this was a nested HostRoot when used with
184
+ // renderContainerIntoSubtree.
185
+ return nearestMounted;
186
+ } // If we didn't hit the root, that means that we're in an disconnected tree
187
+ // that has been unmounted.
188
+
189
+
190
+ return null;
191
+ }
192
+
193
+ function assertIsMounted(fiber) {
194
+ if (!(getNearestMountedFiber(fiber) === fiber)) {
195
+ {
196
+ throw Error( "Unable to find node on an unmounted component." );
197
+ }
198
+ }
199
+ }
200
+
201
+ function findCurrentFiberUsingSlowPath(fiber) {
202
+ var alternate = fiber.alternate;
203
+
204
+ if (!alternate) {
205
+ // If there is no alternate, then we only need to check if it is mounted.
206
+ var nearestMounted = getNearestMountedFiber(fiber);
207
+
208
+ if (!(nearestMounted !== null)) {
209
+ {
210
+ throw Error( "Unable to find node on an unmounted component." );
211
+ }
212
+ }
213
+
214
+ if (nearestMounted !== fiber) {
215
+ return null;
216
+ }
217
+
218
+ return fiber;
219
+ } // If we have two possible branches, we'll walk backwards up to the root
220
+ // to see what path the root points to. On the way we may hit one of the
221
+ // special cases and we'll deal with them.
222
+
223
+
224
+ var a = fiber;
225
+ var b = alternate;
226
+
227
+ while (true) {
228
+ var parentA = a.return;
229
+
230
+ if (parentA === null) {
231
+ // We're at the root.
232
+ break;
233
+ }
234
+
235
+ var parentB = parentA.alternate;
236
+
237
+ if (parentB === null) {
238
+ // There is no alternate. This is an unusual case. Currently, it only
239
+ // happens when a Suspense component is hidden. An extra fragment fiber
240
+ // is inserted in between the Suspense fiber and its children. Skip
241
+ // over this extra fragment fiber and proceed to the next parent.
242
+ var nextParent = parentA.return;
243
+
244
+ if (nextParent !== null) {
245
+ a = b = nextParent;
246
+ continue;
247
+ } // If there's no parent, we're at the root.
248
+
249
+
250
+ break;
251
+ } // If both copies of the parent fiber point to the same child, we can
252
+ // assume that the child is current. This happens when we bailout on low
253
+ // priority: the bailed out fiber's child reuses the current child.
254
+
255
+
256
+ if (parentA.child === parentB.child) {
257
+ var child = parentA.child;
258
+
259
+ while (child) {
260
+ if (child === a) {
261
+ // We've determined that A is the current branch.
262
+ assertIsMounted(parentA);
263
+ return fiber;
264
+ }
265
+
266
+ if (child === b) {
267
+ // We've determined that B is the current branch.
268
+ assertIsMounted(parentA);
269
+ return alternate;
270
+ }
271
+
272
+ child = child.sibling;
273
+ } // We should never have an alternate for any mounting node. So the only
274
+ // way this could possibly happen is if this was unmounted, if at all.
275
+
276
+
277
+ {
278
+ {
279
+ throw Error( "Unable to find node on an unmounted component." );
280
+ }
281
+ }
282
+ }
283
+
284
+ if (a.return !== b.return) {
285
+ // The return pointer of A and the return pointer of B point to different
286
+ // fibers. We assume that return pointers never criss-cross, so A must
287
+ // belong to the child set of A.return, and B must belong to the child
288
+ // set of B.return.
289
+ a = parentA;
290
+ b = parentB;
291
+ } else {
292
+ // The return pointers point to the same fiber. We'll have to use the
293
+ // default, slow path: scan the child sets of each parent alternate to see
294
+ // which child belongs to which set.
295
+ //
296
+ // Search parent A's child set
297
+ var didFindChild = false;
298
+ var _child = parentA.child;
299
+
300
+ while (_child) {
301
+ if (_child === a) {
302
+ didFindChild = true;
303
+ a = parentA;
304
+ b = parentB;
305
+ break;
306
+ }
307
+
308
+ if (_child === b) {
309
+ didFindChild = true;
310
+ b = parentA;
311
+ a = parentB;
312
+ break;
313
+ }
314
+
315
+ _child = _child.sibling;
316
+ }
317
+
318
+ if (!didFindChild) {
319
+ // Search parent B's child set
320
+ _child = parentB.child;
321
+
322
+ while (_child) {
323
+ if (_child === a) {
324
+ didFindChild = true;
325
+ a = parentB;
326
+ b = parentA;
327
+ break;
328
+ }
329
+
330
+ if (_child === b) {
331
+ didFindChild = true;
332
+ b = parentB;
333
+ a = parentA;
334
+ break;
335
+ }
336
+
337
+ _child = _child.sibling;
338
+ }
339
+
340
+ if (!didFindChild) {
341
+ {
342
+ throw Error( "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue." );
343
+ }
344
+ }
345
+ }
346
+ }
347
+
348
+ if (!(a.alternate === b)) {
349
+ {
350
+ throw Error( "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue." );
351
+ }
352
+ }
353
+ } // If the root is not a host container, we're in a disconnected tree. I.e.
354
+ // unmounted.
355
+
356
+
357
+ if (!(a.tag === HostRoot)) {
358
+ {
359
+ throw Error( "Unable to find node on an unmounted component." );
360
+ }
361
+ }
362
+
363
+ if (a.stateNode.current === a) {
364
+ // We've determined that A is the current branch.
365
+ return fiber;
366
+ } // Otherwise B has to be current branch.
367
+
368
+
369
+ return alternate;
370
+ }
371
+
372
+ /**
373
+ * `charCode` represents the actual "character code" and is safe to use with
374
+ * `String.fromCharCode`. As such, only keys that correspond to printable
375
+ * characters produce a valid `charCode`, the only exception to this is Enter.
376
+ * The Tab-key is considered non-printable and does not have a `charCode`,
377
+ * presumably because it does not produce a tab-character in browsers.
378
+ *
379
+ * @param {object} nativeEvent Native browser event.
380
+ * @return {number} Normalized `charCode` property.
381
+ */
382
+ function getEventCharCode(nativeEvent) {
383
+ var charCode;
384
+ var keyCode = nativeEvent.keyCode;
385
+
386
+ if ('charCode' in nativeEvent) {
387
+ charCode = nativeEvent.charCode; // FF does not set `charCode` for the Enter-key, check against `keyCode`.
388
+
389
+ if (charCode === 0 && keyCode === 13) {
390
+ charCode = 13;
391
+ }
392
+ } else {
393
+ // IE8 does not implement `charCode`, but `keyCode` has the correct value.
394
+ charCode = keyCode;
395
+ } // IE and Edge (on Windows) and Chrome / Safari (on Windows and Linux)
396
+ // report Enter as charCode 10 when ctrl is pressed.
397
+
398
+
399
+ if (charCode === 10) {
400
+ charCode = 13;
401
+ } // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
402
+ // Must not discard the (non-)printable Enter-key.
403
+
404
+
405
+ if (charCode >= 32 || charCode === 13) {
406
+ return charCode;
407
+ }
408
+
409
+ return 0;
410
+ }
411
+
412
+ function functionThatReturnsTrue() {
413
+ return true;
414
+ }
415
+
416
+ function functionThatReturnsFalse() {
417
+ return false;
418
+ } // This is intentionally a factory so that we have different returned constructors.
419
+ // If we had a single constructor, it would be megamorphic and engines would deopt.
420
+
421
+
422
+ function createSyntheticEvent(Interface) {
423
+ /**
424
+ * Synthetic events are dispatched by event plugins, typically in response to a
425
+ * top-level event delegation handler.
426
+ *
427
+ * These systems should generally use pooling to reduce the frequency of garbage
428
+ * collection. The system should check `isPersistent` to determine whether the
429
+ * event should be released into the pool after being dispatched. Users that
430
+ * need a persisted event should invoke `persist`.
431
+ *
432
+ * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
433
+ * normalizing browser quirks. Subclasses do not necessarily have to implement a
434
+ * DOM interface; custom application-specific events can also subclass this.
435
+ */
436
+ function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
437
+ this._reactName = reactName;
438
+ this._targetInst = targetInst;
439
+ this.type = reactEventType;
440
+ this.nativeEvent = nativeEvent;
441
+ this.target = nativeEventTarget;
442
+ this.currentTarget = null;
443
+
444
+ for (var _propName in Interface) {
445
+ if (!Interface.hasOwnProperty(_propName)) {
446
+ continue;
447
+ }
448
+
449
+ var normalize = Interface[_propName];
450
+
451
+ if (normalize) {
452
+ this[_propName] = normalize(nativeEvent);
453
+ } else {
454
+ this[_propName] = nativeEvent[_propName];
455
+ }
456
+ }
457
+
458
+ var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
459
+
460
+ if (defaultPrevented) {
461
+ this.isDefaultPrevented = functionThatReturnsTrue;
462
+ } else {
463
+ this.isDefaultPrevented = functionThatReturnsFalse;
464
+ }
465
+
466
+ this.isPropagationStopped = functionThatReturnsFalse;
467
+ return this;
468
+ }
469
+
470
+ _assign(SyntheticBaseEvent.prototype, {
471
+ preventDefault: function () {
472
+ this.defaultPrevented = true;
473
+ var event = this.nativeEvent;
474
+
475
+ if (!event) {
476
+ return;
477
+ }
478
+
479
+ if (event.preventDefault) {
480
+ event.preventDefault(); // $FlowFixMe - flow is not aware of `unknown` in IE
481
+ } else if (typeof event.returnValue !== 'unknown') {
482
+ event.returnValue = false;
483
+ }
484
+
485
+ this.isDefaultPrevented = functionThatReturnsTrue;
486
+ },
487
+ stopPropagation: function () {
488
+ var event = this.nativeEvent;
489
+
490
+ if (!event) {
491
+ return;
492
+ }
493
+
494
+ if (event.stopPropagation) {
495
+ event.stopPropagation(); // $FlowFixMe - flow is not aware of `unknown` in IE
496
+ } else if (typeof event.cancelBubble !== 'unknown') {
497
+ // The ChangeEventPlugin registers a "propertychange" event for
498
+ // IE. This event does not support bubbling or cancelling, and
499
+ // any references to cancelBubble throw "Member not found". A
500
+ // typeof check of "unknown" circumvents this issue (and is also
501
+ // IE specific).
502
+ event.cancelBubble = true;
503
+ }
504
+
505
+ this.isPropagationStopped = functionThatReturnsTrue;
506
+ },
507
+
508
+ /**
509
+ * We release all dispatched `SyntheticEvent`s after each event loop, adding
510
+ * them back into the pool. This allows a way to hold onto a reference that
511
+ * won't be added back into the pool.
512
+ */
513
+ persist: function () {// Modern event system doesn't use pooling.
514
+ },
515
+
516
+ /**
517
+ * Checks if this event should be released back into the pool.
518
+ *
519
+ * @return {boolean} True if this should not be released, false otherwise.
520
+ */
521
+ isPersistent: functionThatReturnsTrue
522
+ });
523
+
524
+ return SyntheticBaseEvent;
525
+ }
526
+ /**
527
+ * @interface Event
528
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
529
+ */
530
+
531
+
532
+ var EventInterface = {
533
+ eventPhase: 0,
534
+ bubbles: 0,
535
+ cancelable: 0,
536
+ timeStamp: function (event) {
537
+ return event.timeStamp || Date.now();
538
+ },
539
+ defaultPrevented: 0,
540
+ isTrusted: 0
541
+ };
542
+ var SyntheticEvent = createSyntheticEvent(EventInterface);
543
+
544
+ var UIEventInterface = _assign({}, EventInterface, {
545
+ view: 0,
546
+ detail: 0
547
+ });
548
+
549
+ var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
550
+ var lastMovementX;
551
+ var lastMovementY;
552
+ var lastMouseEvent;
553
+
554
+ function updateMouseMovementPolyfillState(event) {
555
+ if (event !== lastMouseEvent) {
556
+ if (lastMouseEvent && event.type === 'mousemove') {
557
+ lastMovementX = event.screenX - lastMouseEvent.screenX;
558
+ lastMovementY = event.screenY - lastMouseEvent.screenY;
559
+ } else {
560
+ lastMovementX = 0;
561
+ lastMovementY = 0;
562
+ }
563
+
564
+ lastMouseEvent = event;
565
+ }
566
+ }
567
+ /**
568
+ * @interface MouseEvent
569
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
570
+ */
571
+
572
+
573
+ var MouseEventInterface = _assign({}, UIEventInterface, {
574
+ screenX: 0,
575
+ screenY: 0,
576
+ clientX: 0,
577
+ clientY: 0,
578
+ pageX: 0,
579
+ pageY: 0,
580
+ ctrlKey: 0,
581
+ shiftKey: 0,
582
+ altKey: 0,
583
+ metaKey: 0,
584
+ getModifierState: getEventModifierState,
585
+ button: 0,
586
+ buttons: 0,
587
+ relatedTarget: function (event) {
588
+ if (event.relatedTarget === undefined) return event.fromElement === event.srcElement ? event.toElement : event.fromElement;
589
+ return event.relatedTarget;
590
+ },
591
+ movementX: function (event) {
592
+ if ('movementX' in event) {
593
+ return event.movementX;
594
+ }
595
+
596
+ updateMouseMovementPolyfillState(event);
597
+ return lastMovementX;
598
+ },
599
+ movementY: function (event) {
600
+ if ('movementY' in event) {
601
+ return event.movementY;
602
+ } // Don't need to call updateMouseMovementPolyfillState() here
603
+ // because it's guaranteed to have already run when movementX
604
+ // was copied.
605
+
606
+
607
+ return lastMovementY;
608
+ }
609
+ });
610
+
611
+ var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
612
+ /**
613
+ * @interface DragEvent
614
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
615
+ */
616
+
617
+ var DragEventInterface = _assign({}, MouseEventInterface, {
618
+ dataTransfer: 0
619
+ });
620
+
621
+ var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
622
+ /**
623
+ * @interface FocusEvent
624
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
625
+ */
626
+
627
+ var FocusEventInterface = _assign({}, UIEventInterface, {
628
+ relatedTarget: 0
629
+ });
630
+
631
+ var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
632
+ /**
633
+ * @interface Event
634
+ * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
635
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent
636
+ */
637
+
638
+ var AnimationEventInterface = _assign({}, EventInterface, {
639
+ animationName: 0,
640
+ elapsedTime: 0,
641
+ pseudoElement: 0
642
+ });
643
+
644
+ var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
645
+ /**
646
+ * @interface Event
647
+ * @see http://www.w3.org/TR/clipboard-apis/
648
+ */
649
+
650
+ var ClipboardEventInterface = _assign({}, EventInterface, {
651
+ clipboardData: function (event) {
652
+ return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
653
+ }
654
+ });
655
+
656
+ var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
657
+ /**
658
+ * @interface Event
659
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
660
+ */
661
+
662
+ var CompositionEventInterface = _assign({}, EventInterface, {
663
+ data: 0
664
+ });
665
+
666
+ var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
667
+ /**
668
+ * Normalization of deprecated HTML5 `key` values
669
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
670
+ */
671
+
672
+ var normalizeKey = {
673
+ Esc: 'Escape',
674
+ Spacebar: ' ',
675
+ Left: 'ArrowLeft',
676
+ Up: 'ArrowUp',
677
+ Right: 'ArrowRight',
678
+ Down: 'ArrowDown',
679
+ Del: 'Delete',
680
+ Win: 'OS',
681
+ Menu: 'ContextMenu',
682
+ Apps: 'ContextMenu',
683
+ Scroll: 'ScrollLock',
684
+ MozPrintableKey: 'Unidentified'
685
+ };
686
+ /**
687
+ * Translation from legacy `keyCode` to HTML5 `key`
688
+ * Only special keys supported, all others depend on keyboard layout or browser
689
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
690
+ */
691
+
692
+ var translateToKey = {
693
+ '8': 'Backspace',
694
+ '9': 'Tab',
695
+ '12': 'Clear',
696
+ '13': 'Enter',
697
+ '16': 'Shift',
698
+ '17': 'Control',
699
+ '18': 'Alt',
700
+ '19': 'Pause',
701
+ '20': 'CapsLock',
702
+ '27': 'Escape',
703
+ '32': ' ',
704
+ '33': 'PageUp',
705
+ '34': 'PageDown',
706
+ '35': 'End',
707
+ '36': 'Home',
708
+ '37': 'ArrowLeft',
709
+ '38': 'ArrowUp',
710
+ '39': 'ArrowRight',
711
+ '40': 'ArrowDown',
712
+ '45': 'Insert',
713
+ '46': 'Delete',
714
+ '112': 'F1',
715
+ '113': 'F2',
716
+ '114': 'F3',
717
+ '115': 'F4',
718
+ '116': 'F5',
719
+ '117': 'F6',
720
+ '118': 'F7',
721
+ '119': 'F8',
722
+ '120': 'F9',
723
+ '121': 'F10',
724
+ '122': 'F11',
725
+ '123': 'F12',
726
+ '144': 'NumLock',
727
+ '145': 'ScrollLock',
728
+ '224': 'Meta'
729
+ };
730
+ /**
731
+ * @param {object} nativeEvent Native browser event.
732
+ * @return {string} Normalized `key` property.
733
+ */
734
+
735
+ function getEventKey(nativeEvent) {
736
+ if (nativeEvent.key) {
737
+ // Normalize inconsistent values reported by browsers due to
738
+ // implementations of a working draft specification.
739
+ // FireFox implements `key` but returns `MozPrintableKey` for all
740
+ // printable characters (normalized to `Unidentified`), ignore it.
741
+ var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
742
+
743
+ if (key !== 'Unidentified') {
744
+ return key;
745
+ }
746
+ } // Browser does not implement `key`, polyfill as much of it as we can.
747
+
748
+
749
+ if (nativeEvent.type === 'keypress') {
750
+ var charCode = getEventCharCode(nativeEvent); // The enter-key is technically both printable and non-printable and can
751
+ // thus be captured by `keypress`, no other non-printable key should.
752
+
753
+ return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
754
+ }
755
+
756
+ if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
757
+ // While user keyboard layout determines the actual meaning of each
758
+ // `keyCode` value, almost all function keys have a universal value.
759
+ return translateToKey[nativeEvent.keyCode] || 'Unidentified';
760
+ }
761
+
762
+ return '';
763
+ }
764
+ /**
765
+ * Translation from modifier key to the associated property in the event.
766
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
767
+ */
768
+
769
+
770
+ var modifierKeyToProp = {
771
+ Alt: 'altKey',
772
+ Control: 'ctrlKey',
773
+ Meta: 'metaKey',
774
+ Shift: 'shiftKey'
775
+ }; // Older browsers (Safari <= 10, iOS Safari <= 10.2) do not support
776
+ // getModifierState. If getModifierState is not supported, we map it to a set of
777
+ // modifier keys exposed by the event. In this case, Lock-keys are not supported.
778
+
779
+ function modifierStateGetter(keyArg) {
780
+ var syntheticEvent = this;
781
+ var nativeEvent = syntheticEvent.nativeEvent;
782
+
783
+ if (nativeEvent.getModifierState) {
784
+ return nativeEvent.getModifierState(keyArg);
785
+ }
786
+
787
+ var keyProp = modifierKeyToProp[keyArg];
788
+ return keyProp ? !!nativeEvent[keyProp] : false;
789
+ }
790
+
791
+ function getEventModifierState(nativeEvent) {
792
+ return modifierStateGetter;
793
+ }
794
+ /**
795
+ * @interface KeyboardEvent
796
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
797
+ */
798
+
799
+
800
+ var KeyboardEventInterface = _assign({}, UIEventInterface, {
801
+ key: getEventKey,
802
+ code: 0,
803
+ location: 0,
804
+ ctrlKey: 0,
805
+ shiftKey: 0,
806
+ altKey: 0,
807
+ metaKey: 0,
808
+ repeat: 0,
809
+ locale: 0,
810
+ getModifierState: getEventModifierState,
811
+ // Legacy Interface
812
+ charCode: function (event) {
813
+ // `charCode` is the result of a KeyPress event and represents the value of
814
+ // the actual printable character.
815
+ // KeyPress is deprecated, but its replacement is not yet final and not
816
+ // implemented in any major browser. Only KeyPress has charCode.
817
+ if (event.type === 'keypress') {
818
+ return getEventCharCode(event);
819
+ }
820
+
821
+ return 0;
822
+ },
823
+ keyCode: function (event) {
824
+ // `keyCode` is the result of a KeyDown/Up event and represents the value of
825
+ // physical keyboard key.
826
+ // The actual meaning of the value depends on the users' keyboard layout
827
+ // which cannot be detected. Assuming that it is a US keyboard layout
828
+ // provides a surprisingly accurate mapping for US and European users.
829
+ // Due to this, it is left to the user to implement at this time.
830
+ if (event.type === 'keydown' || event.type === 'keyup') {
831
+ return event.keyCode;
832
+ }
833
+
834
+ return 0;
835
+ },
836
+ which: function (event) {
837
+ // `which` is an alias for either `keyCode` or `charCode` depending on the
838
+ // type of the event.
839
+ if (event.type === 'keypress') {
840
+ return getEventCharCode(event);
841
+ }
842
+
843
+ if (event.type === 'keydown' || event.type === 'keyup') {
844
+ return event.keyCode;
845
+ }
846
+
847
+ return 0;
848
+ }
849
+ });
850
+
851
+ var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
852
+ /**
853
+ * @interface PointerEvent
854
+ * @see http://www.w3.org/TR/pointerevents/
855
+ */
856
+
857
+ var PointerEventInterface = _assign({}, MouseEventInterface, {
858
+ pointerId: 0,
859
+ width: 0,
860
+ height: 0,
861
+ pressure: 0,
862
+ tangentialPressure: 0,
863
+ tiltX: 0,
864
+ tiltY: 0,
865
+ twist: 0,
866
+ pointerType: 0,
867
+ isPrimary: 0
868
+ });
869
+
870
+ var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
871
+ /**
872
+ * @interface TouchEvent
873
+ * @see http://www.w3.org/TR/touch-events/
874
+ */
875
+
876
+ var TouchEventInterface = _assign({}, UIEventInterface, {
877
+ touches: 0,
878
+ targetTouches: 0,
879
+ changedTouches: 0,
880
+ altKey: 0,
881
+ metaKey: 0,
882
+ ctrlKey: 0,
883
+ shiftKey: 0,
884
+ getModifierState: getEventModifierState
885
+ });
886
+
887
+ var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
888
+ /**
889
+ * @interface Event
890
+ * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
891
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
892
+ */
893
+
894
+ var TransitionEventInterface = _assign({}, EventInterface, {
895
+ propertyName: 0,
896
+ elapsedTime: 0,
897
+ pseudoElement: 0
898
+ });
899
+
900
+ var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
901
+ /**
902
+ * @interface WheelEvent
903
+ * @see http://www.w3.org/TR/DOM-Level-3-Events/
904
+ */
905
+
906
+ var WheelEventInterface = _assign({}, MouseEventInterface, {
907
+ deltaX: function (event) {
908
+ return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
909
+ 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;
910
+ },
911
+ deltaY: function (event) {
912
+ return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
913
+ 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
914
+ 'wheelDelta' in event ? -event.wheelDelta : 0;
915
+ },
916
+ deltaZ: 0,
917
+ // Browsers without "deltaMode" is reporting in raw wheel delta where one
918
+ // notch on the scroll is always +/- 120, roughly equivalent to pixels.
919
+ // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
920
+ // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
921
+ deltaMode: 0
922
+ });
923
+
924
+ var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);
925
+
926
+ /**
927
+ * HTML nodeType values that represent the type of the node
928
+ */
929
+ var ELEMENT_NODE = 1;
930
+
931
+ var didWarnAboutMessageChannel = false;
932
+ var enqueueTaskImpl = null;
933
+ function enqueueTask(task) {
934
+ if (enqueueTaskImpl === null) {
935
+ try {
936
+ // read require off the module object to get around the bundlers.
937
+ // we don't want them to detect a require and bundle a Node polyfill.
938
+ var requireString = ('require' + Math.random()).slice(0, 7);
939
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
940
+ // version of setImmediate, bypassing fake timers if any.
941
+
942
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
943
+ } catch (_err) {
944
+ // we're in a browser
945
+ // we can't use regular timers because they may still be faked
946
+ // so we try MessageChannel+postMessage instead
947
+ enqueueTaskImpl = function (callback) {
948
+ {
949
+ if (didWarnAboutMessageChannel === false) {
950
+ didWarnAboutMessageChannel = true;
951
+
952
+ if (typeof MessageChannel === 'undefined') {
953
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
954
+ }
955
+ }
956
+ }
957
+
958
+ var channel = new MessageChannel();
959
+ channel.port1.onmessage = callback;
960
+ channel.port2.postMessage(undefined);
961
+ };
962
+ }
963
+ }
964
+
965
+ return enqueueTaskImpl(task);
966
+ }
967
+
968
+ var EventInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; // const getInstanceFromNode = EventInternals[0];
969
+ // const getNodeFromInstance = EventInternals[1];
970
+ // const getFiberCurrentPropsFromNode = EventInternals[2];
971
+ // const enqueueStateRestore = EventInternals[3];
972
+ // const restoreStateIfNeeded = EventInternals[4];
973
+
974
+ var flushPassiveEffects = EventInternals[5];
975
+ var IsThisRendererActing = EventInternals[6];
976
+ var batchedUpdates = ReactDOM.unstable_batchedUpdates;
977
+ var IsSomeRendererActing = ReactSharedInternals.IsSomeRendererActing; // This is the public version of `ReactTestUtils.act`. It is implemented in
978
+ // "userspace" (i.e. not the reconciler), so that it doesn't add to the
979
+ // production bundle size.
980
+ // TODO: Remove this implementation of `act` in favor of the one exported by
981
+ // the reconciler. To do this, we must first drop support for `act` in
982
+ // production mode.
983
+ // TODO: Remove support for the mock scheduler build, which was only added for
984
+ // the purposes of internal testing. Internal tests should use
985
+ // `unstable_concurrentAct` instead.
986
+
987
+ var isSchedulerMocked = typeof Scheduler.unstable_flushAllWithoutAsserting === 'function';
988
+
989
+ var flushWork = Scheduler.unstable_flushAllWithoutAsserting || function () {
990
+ var didFlushWork = false;
991
+
992
+ while (flushPassiveEffects()) {
993
+ didFlushWork = true;
994
+ }
995
+
996
+ return didFlushWork;
997
+ };
998
+
999
+ function flushWorkAndMicroTasks(onDone) {
1000
+ try {
1001
+ flushWork();
1002
+ enqueueTask(function () {
1003
+ if (flushWork()) {
1004
+ flushWorkAndMicroTasks(onDone);
1005
+ } else {
1006
+ onDone();
1007
+ }
1008
+ });
1009
+ } catch (err) {
1010
+ onDone(err);
1011
+ }
1012
+ } // we track the 'depth' of the act() calls with this counter,
1013
+ // so we can tell if any async act() calls try to run in parallel.
1014
+
1015
+
1016
+ var actingUpdatesScopeDepth = 0;
1017
+ function act(callback) {
1018
+
1019
+ var previousActingUpdatesScopeDepth = actingUpdatesScopeDepth;
1020
+ actingUpdatesScopeDepth++;
1021
+ var previousIsSomeRendererActing = IsSomeRendererActing.current;
1022
+ var previousIsThisRendererActing = IsThisRendererActing.current;
1023
+ IsSomeRendererActing.current = true;
1024
+ IsThisRendererActing.current = true;
1025
+
1026
+ function onDone() {
1027
+ actingUpdatesScopeDepth--;
1028
+ IsSomeRendererActing.current = previousIsSomeRendererActing;
1029
+ IsThisRendererActing.current = previousIsThisRendererActing;
1030
+
1031
+ {
1032
+ if (actingUpdatesScopeDepth > previousActingUpdatesScopeDepth) {
1033
+ // if it's _less than_ previousActingUpdatesScopeDepth, then we can assume the 'other' one has warned
1034
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
1035
+ }
1036
+ }
1037
+ }
1038
+
1039
+ var result;
1040
+
1041
+ try {
1042
+ result = batchedUpdates(callback);
1043
+ } catch (error) {
1044
+ // on sync errors, we still want to 'cleanup' and decrement actingUpdatesScopeDepth
1045
+ onDone();
1046
+ throw error;
1047
+ }
1048
+
1049
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
1050
+ // setup a boolean that gets set to true only
1051
+ // once this act() call is await-ed
1052
+ var called = false;
1053
+
1054
+ {
1055
+ if (typeof Promise !== 'undefined') {
1056
+ //eslint-disable-next-line no-undef
1057
+ Promise.resolve().then(function () {}).then(function () {
1058
+ if (called === false) {
1059
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, interleaving multiple act ' + 'calls and mixing their scopes. You should - await act(async () => ...);');
1060
+ }
1061
+ });
1062
+ }
1063
+ } // in the async case, the returned thenable runs the callback, flushes
1064
+ // effects and microtasks in a loop until flushPassiveEffects() === false,
1065
+ // and cleans up
1066
+
1067
+
1068
+ return {
1069
+ then: function (resolve, reject) {
1070
+ called = true;
1071
+ result.then(function () {
1072
+ if (actingUpdatesScopeDepth > 1 || isSchedulerMocked === true && previousIsSomeRendererActing === true) {
1073
+ onDone();
1074
+ resolve();
1075
+ return;
1076
+ } // we're about to exit the act() scope,
1077
+ // now's the time to flush tasks/effects
1078
+
1079
+
1080
+ flushWorkAndMicroTasks(function (err) {
1081
+ onDone();
1082
+
1083
+ if (err) {
1084
+ reject(err);
1085
+ } else {
1086
+ resolve();
1087
+ }
1088
+ });
1089
+ }, function (err) {
1090
+ onDone();
1091
+ reject(err);
1092
+ });
1093
+ }
1094
+ };
1095
+ } else {
1096
+ {
1097
+ if (result !== undefined) {
1098
+ error('The callback passed to act(...) function ' + 'must return undefined, or a Promise. You returned %s', result);
1099
+ }
1100
+ } // flush effects until none remain, and cleanup
1101
+
1102
+
1103
+ try {
1104
+ if (actingUpdatesScopeDepth === 1 && (isSchedulerMocked === false || previousIsSomeRendererActing === false)) {
1105
+ // we're about to exit the act() scope,
1106
+ // now's the time to flush effects
1107
+ flushWork();
1108
+ }
1109
+
1110
+ onDone();
1111
+ } catch (err) {
1112
+ onDone();
1113
+ throw err;
1114
+ } // in the sync case, the returned thenable only warns *if* await-ed
1115
+
1116
+
1117
+ return {
1118
+ then: function (resolve) {
1119
+ {
1120
+ error('Do not await the result of calling act(...) with sync logic, it is not a Promise.');
1121
+ }
1122
+
1123
+ resolve();
1124
+ }
1125
+ };
1126
+ }
1127
+ }
1128
+
1129
+ var EventInternals$1 = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events; // const getInstanceFromNode = EventInternals[0];
1130
+ // const getNodeFromInstance = EventInternals[1];
1131
+ // const getFiberCurrentPropsFromNode = EventInternals[2];
1132
+ // const enqueueStateRestore = EventInternals[3];
1133
+ // const restoreStateIfNeeded = EventInternals[4];
1134
+ // const flushPassiveEffects = EventInternals[5];
1135
+
1136
+ var IsThisRendererActing$1 = EventInternals$1[6];
1137
+ var batchedUpdates$1 = ReactDOM.unstable_batchedUpdates;
1138
+ var IsSomeRendererActing$1 = ReactSharedInternals.IsSomeRendererActing; // This version of `act` is only used by our tests. Unlike the public version
1139
+ // of `act`, it's designed to work identically in both production and
1140
+ // development. It may have slightly different behavior from the public
1141
+ // version, too, since our constraints in our test suite are not the same as
1142
+ // those of developers using React — we're testing React itself, as opposed to
1143
+ // building an app with React.
1144
+
1145
+ var actingUpdatesScopeDepth$1 = 0;
1146
+ function unstable_concurrentAct(scope) {
1147
+ if (Scheduler.unstable_flushAllWithoutAsserting === undefined) {
1148
+ throw Error('This version of `act` requires a special mock build of Scheduler.');
1149
+ }
1150
+
1151
+ if (setTimeout._isMockFunction !== true) {
1152
+ throw Error("This version of `act` requires Jest's timer mocks " + '(i.e. jest.useFakeTimers).');
1153
+ }
1154
+
1155
+ var previousActingUpdatesScopeDepth = actingUpdatesScopeDepth$1;
1156
+ var previousIsSomeRendererActing = IsSomeRendererActing$1.current;
1157
+ var previousIsThisRendererActing = IsThisRendererActing$1.current;
1158
+ IsSomeRendererActing$1.current = true;
1159
+ IsThisRendererActing$1.current = true;
1160
+ actingUpdatesScopeDepth$1++;
1161
+
1162
+ var unwind = function () {
1163
+ actingUpdatesScopeDepth$1--;
1164
+ IsSomeRendererActing$1.current = previousIsSomeRendererActing;
1165
+ IsThisRendererActing$1.current = previousIsThisRendererActing;
1166
+
1167
+ {
1168
+ if (actingUpdatesScopeDepth$1 > previousActingUpdatesScopeDepth) {
1169
+ // if it's _less than_ previousActingUpdatesScopeDepth, then we can
1170
+ // assume the 'other' one has warned
1171
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
1172
+ }
1173
+ }
1174
+ }; // TODO: This would be way simpler if 1) we required a promise to be
1175
+ // returned and 2) we could use async/await. Since it's only our used in
1176
+ // our test suite, we should be able to.
1177
+
1178
+
1179
+ try {
1180
+ var thenable = batchedUpdates$1(scope);
1181
+
1182
+ if (typeof thenable === 'object' && thenable !== null && typeof thenable.then === 'function') {
1183
+ return {
1184
+ then: function (resolve, reject) {
1185
+ thenable.then(function () {
1186
+ flushActWork(function () {
1187
+ unwind();
1188
+ resolve();
1189
+ }, function (error) {
1190
+ unwind();
1191
+ reject(error);
1192
+ });
1193
+ }, function (error) {
1194
+ unwind();
1195
+ reject(error);
1196
+ });
1197
+ }
1198
+ };
1199
+ } else {
1200
+ try {
1201
+ // TODO: Let's not support non-async scopes at all in our tests. Need to
1202
+ // migrate existing tests.
1203
+ var didFlushWork;
1204
+
1205
+ do {
1206
+ didFlushWork = Scheduler.unstable_flushAllWithoutAsserting();
1207
+ } while (didFlushWork);
1208
+ } finally {
1209
+ unwind();
1210
+ }
1211
+ }
1212
+ } catch (error) {
1213
+ unwind();
1214
+ throw error;
1215
+ }
1216
+ }
1217
+
1218
+ function flushActWork(resolve, reject) {
1219
+ // Flush suspended fallbacks
1220
+ // $FlowFixMe: Flow doesn't know about global Jest object
1221
+ jest.runOnlyPendingTimers();
1222
+ enqueueTask(function () {
1223
+ try {
1224
+ var didFlushWork = Scheduler.unstable_flushAllWithoutAsserting();
1225
+
1226
+ if (didFlushWork) {
1227
+ flushActWork(resolve, reject);
1228
+ } else {
1229
+ resolve();
1230
+ }
1231
+ } catch (error) {
1232
+ reject(error);
1233
+ }
1234
+ });
1235
+ }
1236
+
1237
+ function invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) {
1238
+ var funcArgs = Array.prototype.slice.call(arguments, 3);
1239
+
1240
+ try {
1241
+ func.apply(context, funcArgs);
1242
+ } catch (error) {
1243
+ this.onError(error);
1244
+ }
1245
+ }
1246
+
1247
+ var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
1248
+
1249
+ {
1250
+ // In DEV mode, we swap out invokeGuardedCallback for a special version
1251
+ // that plays more nicely with the browser's DevTools. The idea is to preserve
1252
+ // "Pause on exceptions" behavior. Because React wraps all user-provided
1253
+ // functions in invokeGuardedCallback, and the production version of
1254
+ // invokeGuardedCallback uses a try-catch, all user exceptions are treated
1255
+ // like caught exceptions, and the DevTools won't pause unless the developer
1256
+ // takes the extra step of enabling pause on caught exceptions. This is
1257
+ // unintuitive, though, because even though React has caught the error, from
1258
+ // the developer's perspective, the error is uncaught.
1259
+ //
1260
+ // To preserve the expected "Pause on exceptions" behavior, we don't use a
1261
+ // try-catch in DEV. Instead, we synchronously dispatch a fake event to a fake
1262
+ // DOM node, and call the user-provided callback from inside an event handler
1263
+ // for that fake event. If the callback throws, the error is "captured" using
1264
+ // a global event handler. But because the error happens in a different
1265
+ // event loop context, it does not interrupt the normal program flow.
1266
+ // Effectively, this gives us try-catch behavior without actually using
1267
+ // try-catch. Neat!
1268
+ // Check that the browser supports the APIs we need to implement our special
1269
+ // DEV version of invokeGuardedCallback
1270
+ if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
1271
+ var fakeNode = document.createElement('react');
1272
+
1273
+ invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name, func, context, a, b, c, d, e, f) {
1274
+ // If document doesn't exist we know for sure we will crash in this method
1275
+ // when we call document.createEvent(). However this can cause confusing
1276
+ // errors: https://github.com/facebookincubator/create-react-app/issues/3482
1277
+ // So we preemptively throw with a better message instead.
1278
+ if (!(typeof document !== 'undefined')) {
1279
+ {
1280
+ throw Error( "The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous." );
1281
+ }
1282
+ }
1283
+
1284
+ var evt = document.createEvent('Event');
1285
+ var didCall = false; // Keeps track of whether the user-provided callback threw an error. We
1286
+ // set this to true at the beginning, then set it to false right after
1287
+ // calling the function. If the function errors, `didError` will never be
1288
+ // set to false. This strategy works even if the browser is flaky and
1289
+ // fails to call our global error handler, because it doesn't rely on
1290
+ // the error event at all.
1291
+
1292
+ var didError = true; // Keeps track of the value of window.event so that we can reset it
1293
+ // during the callback to let user code access window.event in the
1294
+ // browsers that support it.
1295
+
1296
+ var windowEvent = window.event; // Keeps track of the descriptor of window.event to restore it after event
1297
+ // dispatching: https://github.com/facebook/react/issues/13688
1298
+
1299
+ var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, 'event');
1300
+
1301
+ function restoreAfterDispatch() {
1302
+ // We immediately remove the callback from event listeners so that
1303
+ // nested `invokeGuardedCallback` calls do not clash. Otherwise, a
1304
+ // nested call would trigger the fake event handlers of any call higher
1305
+ // in the stack.
1306
+ fakeNode.removeEventListener(evtType, callCallback, false); // We check for window.hasOwnProperty('event') to prevent the
1307
+ // window.event assignment in both IE <= 10 as they throw an error
1308
+ // "Member not found" in strict mode, and in Firefox which does not
1309
+ // support window.event.
1310
+
1311
+ if (typeof window.event !== 'undefined' && window.hasOwnProperty('event')) {
1312
+ window.event = windowEvent;
1313
+ }
1314
+ } // Create an event handler for our fake event. We will synchronously
1315
+ // dispatch our fake event using `dispatchEvent`. Inside the handler, we
1316
+ // call the user-provided callback.
1317
+
1318
+
1319
+ var funcArgs = Array.prototype.slice.call(arguments, 3);
1320
+
1321
+ function callCallback() {
1322
+ didCall = true;
1323
+ restoreAfterDispatch();
1324
+ func.apply(context, funcArgs);
1325
+ didError = false;
1326
+ } // Create a global error event handler. We use this to capture the value
1327
+ // that was thrown. It's possible that this error handler will fire more
1328
+ // than once; for example, if non-React code also calls `dispatchEvent`
1329
+ // and a handler for that event throws. We should be resilient to most of
1330
+ // those cases. Even if our error event handler fires more than once, the
1331
+ // last error event is always used. If the callback actually does error,
1332
+ // we know that the last error event is the correct one, because it's not
1333
+ // possible for anything else to have happened in between our callback
1334
+ // erroring and the code that follows the `dispatchEvent` call below. If
1335
+ // the callback doesn't error, but the error event was fired, we know to
1336
+ // ignore it because `didError` will be false, as described above.
1337
+
1338
+
1339
+ var error; // Use this to track whether the error event is ever called.
1340
+
1341
+ var didSetError = false;
1342
+ var isCrossOriginError = false;
1343
+
1344
+ function handleWindowError(event) {
1345
+ error = event.error;
1346
+ didSetError = true;
1347
+
1348
+ if (error === null && event.colno === 0 && event.lineno === 0) {
1349
+ isCrossOriginError = true;
1350
+ }
1351
+
1352
+ if (event.defaultPrevented) {
1353
+ // Some other error handler has prevented default.
1354
+ // Browsers silence the error report if this happens.
1355
+ // We'll remember this to later decide whether to log it or not.
1356
+ if (error != null && typeof error === 'object') {
1357
+ try {
1358
+ error._suppressLogging = true;
1359
+ } catch (inner) {// Ignore.
1360
+ }
1361
+ }
1362
+ }
1363
+ } // Create a fake event type.
1364
+
1365
+
1366
+ var evtType = "react-" + (name ? name : 'invokeguardedcallback'); // Attach our event handlers
1367
+
1368
+ window.addEventListener('error', handleWindowError);
1369
+ fakeNode.addEventListener(evtType, callCallback, false); // Synchronously dispatch our fake event. If the user-provided function
1370
+ // errors, it will trigger our global error handler.
1371
+
1372
+ evt.initEvent(evtType, false, false);
1373
+ fakeNode.dispatchEvent(evt);
1374
+
1375
+ if (windowEventDescriptor) {
1376
+ Object.defineProperty(window, 'event', windowEventDescriptor);
1377
+ }
1378
+
1379
+ if (didCall && didError) {
1380
+ if (!didSetError) {
1381
+ // The callback errored, but the error event never fired.
1382
+ error = new Error('An error was thrown inside one of your components, but React ' + "doesn't know what it was. This is likely due to browser " + 'flakiness. React does its best to preserve the "Pause on ' + 'exceptions" behavior of the DevTools, which requires some ' + "DEV-mode only tricks. It's possible that these don't work in " + 'your browser. Try triggering the error in production mode, ' + 'or switching to a modern browser. If you suspect that this is ' + 'actually an issue with React, please file an issue.');
1383
+ } else if (isCrossOriginError) {
1384
+ error = new Error("A cross-origin error was thrown. React doesn't have access to " + 'the actual error object in development. ' + 'See https://reactjs.org/link/crossorigin-error for more information.');
1385
+ }
1386
+
1387
+ this.onError(error);
1388
+ } // Remove our event listeners
1389
+
1390
+
1391
+ window.removeEventListener('error', handleWindowError);
1392
+
1393
+ if (!didCall) {
1394
+ // Something went really wrong, and our event was not dispatched.
1395
+ // https://github.com/facebook/react/issues/16734
1396
+ // https://github.com/facebook/react/issues/16585
1397
+ // Fall back to the production implementation.
1398
+ restoreAfterDispatch();
1399
+ return invokeGuardedCallbackProd.apply(this, arguments);
1400
+ }
1401
+ };
1402
+ }
1403
+ }
1404
+
1405
+ var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;
1406
+
1407
+ var hasError = false;
1408
+ var caughtError = null; // Used by event system to capture/rethrow the first error.
1409
+
1410
+ var hasRethrowError = false;
1411
+ var rethrowError = null;
1412
+ var reporter = {
1413
+ onError: function (error) {
1414
+ hasError = true;
1415
+ caughtError = error;
1416
+ }
1417
+ };
1418
+ /**
1419
+ * Call a function while guarding against errors that happens within it.
1420
+ * Returns an error if it throws, otherwise null.
1421
+ *
1422
+ * In production, this is implemented using a try-catch. The reason we don't
1423
+ * use a try-catch directly is so that we can swap out a different
1424
+ * implementation in DEV mode.
1425
+ *
1426
+ * @param {String} name of the guard to use for logging or debugging
1427
+ * @param {Function} func The function to invoke
1428
+ * @param {*} context The context to use when calling the function
1429
+ * @param {...*} args Arguments for function
1430
+ */
1431
+
1432
+ function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
1433
+ hasError = false;
1434
+ caughtError = null;
1435
+ invokeGuardedCallbackImpl$1.apply(reporter, arguments);
1436
+ }
1437
+ /**
1438
+ * Same as invokeGuardedCallback, but instead of returning an error, it stores
1439
+ * it in a global so it can be rethrown by `rethrowCaughtError` later.
1440
+ * TODO: See if caughtError and rethrowError can be unified.
1441
+ *
1442
+ * @param {String} name of the guard to use for logging or debugging
1443
+ * @param {Function} func The function to invoke
1444
+ * @param {*} context The context to use when calling the function
1445
+ * @param {...*} args Arguments for function
1446
+ */
1447
+
1448
+ function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {
1449
+ invokeGuardedCallback.apply(this, arguments);
1450
+
1451
+ if (hasError) {
1452
+ var error = clearCaughtError();
1453
+
1454
+ if (!hasRethrowError) {
1455
+ hasRethrowError = true;
1456
+ rethrowError = error;
1457
+ }
1458
+ }
1459
+ }
1460
+ /**
1461
+ * During execution of guarded functions we will capture the first error which
1462
+ * we will rethrow to be handled by the top level error handler.
1463
+ */
1464
+
1465
+ function rethrowCaughtError() {
1466
+ if (hasRethrowError) {
1467
+ var error = rethrowError;
1468
+ hasRethrowError = false;
1469
+ rethrowError = null;
1470
+ throw error;
1471
+ }
1472
+ }
1473
+ function clearCaughtError() {
1474
+ if (hasError) {
1475
+ var error = caughtError;
1476
+ hasError = false;
1477
+ caughtError = null;
1478
+ return error;
1479
+ } else {
1480
+ {
1481
+ {
1482
+ throw Error( "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue." );
1483
+ }
1484
+ }
1485
+ }
1486
+ }
1487
+
1488
+ var EventInternals$2 = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events;
1489
+ var getInstanceFromNode = EventInternals$2[0];
1490
+ var getNodeFromInstance = EventInternals$2[1];
1491
+ var getFiberCurrentPropsFromNode = EventInternals$2[2];
1492
+ var enqueueStateRestore = EventInternals$2[3];
1493
+ var restoreStateIfNeeded = EventInternals$2[4]; // const flushPassiveEffects = EventInternals[5];
1494
+ // TODO: This is related to `act`, not events. Move to separate key?
1495
+ // const IsThisRendererActing = EventInternals[6];
1496
+
1497
+ function Event(suffix) {}
1498
+
1499
+ var hasWarnedAboutDeprecatedMockComponent = false;
1500
+ /**
1501
+ * @class ReactTestUtils
1502
+ */
1503
+
1504
+ function findAllInRenderedFiberTreeInternal(fiber, test) {
1505
+ if (!fiber) {
1506
+ return [];
1507
+ }
1508
+
1509
+ var currentParent = findCurrentFiberUsingSlowPath(fiber);
1510
+
1511
+ if (!currentParent) {
1512
+ return [];
1513
+ }
1514
+
1515
+ var node = currentParent;
1516
+ var ret = [];
1517
+
1518
+ while (true) {
1519
+ if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent) {
1520
+ var publicInst = node.stateNode;
1521
+
1522
+ if (test(publicInst)) {
1523
+ ret.push(publicInst);
1524
+ }
1525
+ }
1526
+
1527
+ if (node.child) {
1528
+ node.child.return = node;
1529
+ node = node.child;
1530
+ continue;
1531
+ }
1532
+
1533
+ if (node === currentParent) {
1534
+ return ret;
1535
+ }
1536
+
1537
+ while (!node.sibling) {
1538
+ if (!node.return || node.return === currentParent) {
1539
+ return ret;
1540
+ }
1541
+
1542
+ node = node.return;
1543
+ }
1544
+
1545
+ node.sibling.return = node.return;
1546
+ node = node.sibling;
1547
+ }
1548
+ }
1549
+
1550
+ function validateClassInstance(inst, methodName) {
1551
+ if (!inst) {
1552
+ // This is probably too relaxed but it's existing behavior.
1553
+ return;
1554
+ }
1555
+
1556
+ if (get(inst)) {
1557
+ // This is a public instance indeed.
1558
+ return;
1559
+ }
1560
+
1561
+ var received;
1562
+ var stringified = '' + inst;
1563
+
1564
+ if (Array.isArray(inst)) {
1565
+ received = 'an array';
1566
+ } else if (inst && inst.nodeType === ELEMENT_NODE && inst.tagName) {
1567
+ received = 'a DOM node';
1568
+ } else if (stringified === '[object Object]') {
1569
+ received = 'object with keys {' + Object.keys(inst).join(', ') + '}';
1570
+ } else {
1571
+ received = stringified;
1572
+ }
1573
+
1574
+ {
1575
+ {
1576
+ throw Error( methodName + "(...): the first argument must be a React class instance. Instead received: " + received + "." );
1577
+ }
1578
+ }
1579
+ }
1580
+ /**
1581
+ * Utilities for making it easy to test React components.
1582
+ *
1583
+ * See https://reactjs.org/docs/test-utils.html
1584
+ *
1585
+ * Todo: Support the entire DOM.scry query syntax. For now, these simple
1586
+ * utilities will suffice for testing purposes.
1587
+ * @lends ReactTestUtils
1588
+ */
1589
+
1590
+
1591
+ function renderIntoDocument(element) {
1592
+ var div = document.createElement('div'); // None of our tests actually require attaching the container to the
1593
+ // DOM, and doing so creates a mess that we rely on test isolation to
1594
+ // clean up, so we're going to stop honoring the name of this method
1595
+ // (and probably rename it eventually) if no problems arise.
1596
+ // document.documentElement.appendChild(div);
1597
+
1598
+ return ReactDOM.render(element, div);
1599
+ }
1600
+
1601
+ function isElement(element) {
1602
+ return React.isValidElement(element);
1603
+ }
1604
+
1605
+ function isElementOfType(inst, convenienceConstructor) {
1606
+ return React.isValidElement(inst) && inst.type === convenienceConstructor;
1607
+ }
1608
+
1609
+ function isDOMComponent(inst) {
1610
+ return !!(inst && inst.nodeType === ELEMENT_NODE && inst.tagName);
1611
+ }
1612
+
1613
+ function isDOMComponentElement(inst) {
1614
+ return !!(inst && React.isValidElement(inst) && !!inst.tagName);
1615
+ }
1616
+
1617
+ function isCompositeComponent(inst) {
1618
+ if (isDOMComponent(inst)) {
1619
+ // Accessing inst.setState warns; just return false as that'll be what
1620
+ // this returns when we have DOM nodes as refs directly
1621
+ return false;
1622
+ }
1623
+
1624
+ return inst != null && typeof inst.render === 'function' && typeof inst.setState === 'function';
1625
+ }
1626
+
1627
+ function isCompositeComponentWithType(inst, type) {
1628
+ if (!isCompositeComponent(inst)) {
1629
+ return false;
1630
+ }
1631
+
1632
+ var internalInstance = get(inst);
1633
+ var constructor = internalInstance.type;
1634
+ return constructor === type;
1635
+ }
1636
+
1637
+ function findAllInRenderedTree(inst, test) {
1638
+ validateClassInstance(inst, 'findAllInRenderedTree');
1639
+
1640
+ if (!inst) {
1641
+ return [];
1642
+ }
1643
+
1644
+ var internalInstance = get(inst);
1645
+ return findAllInRenderedFiberTreeInternal(internalInstance, test);
1646
+ }
1647
+ /**
1648
+ * Finds all instance of components in the rendered tree that are DOM
1649
+ * components with the class name matching `className`.
1650
+ * @return {array} an array of all the matches.
1651
+ */
1652
+
1653
+
1654
+ function scryRenderedDOMComponentsWithClass(root, classNames) {
1655
+ validateClassInstance(root, 'scryRenderedDOMComponentsWithClass');
1656
+ return findAllInRenderedTree(root, function (inst) {
1657
+ if (isDOMComponent(inst)) {
1658
+ var className = inst.className;
1659
+
1660
+ if (typeof className !== 'string') {
1661
+ // SVG, probably.
1662
+ className = inst.getAttribute('class') || '';
1663
+ }
1664
+
1665
+ var classList = className.split(/\s+/);
1666
+
1667
+ if (!Array.isArray(classNames)) {
1668
+ if (!(classNames !== undefined)) {
1669
+ {
1670
+ throw Error( "TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument." );
1671
+ }
1672
+ }
1673
+
1674
+ classNames = classNames.split(/\s+/);
1675
+ }
1676
+
1677
+ return classNames.every(function (name) {
1678
+ return classList.indexOf(name) !== -1;
1679
+ });
1680
+ }
1681
+
1682
+ return false;
1683
+ });
1684
+ }
1685
+ /**
1686
+ * Like scryRenderedDOMComponentsWithClass but expects there to be one result,
1687
+ * and returns that one result, or throws exception if there is any other
1688
+ * number of matches besides one.
1689
+ * @return {!ReactDOMComponent} The one match.
1690
+ */
1691
+
1692
+
1693
+ function findRenderedDOMComponentWithClass(root, className) {
1694
+ validateClassInstance(root, 'findRenderedDOMComponentWithClass');
1695
+ var all = scryRenderedDOMComponentsWithClass(root, className);
1696
+
1697
+ if (all.length !== 1) {
1698
+ throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for class:' + className);
1699
+ }
1700
+
1701
+ return all[0];
1702
+ }
1703
+ /**
1704
+ * Finds all instance of components in the rendered tree that are DOM
1705
+ * components with the tag name matching `tagName`.
1706
+ * @return {array} an array of all the matches.
1707
+ */
1708
+
1709
+
1710
+ function scryRenderedDOMComponentsWithTag(root, tagName) {
1711
+ validateClassInstance(root, 'scryRenderedDOMComponentsWithTag');
1712
+ return findAllInRenderedTree(root, function (inst) {
1713
+ return isDOMComponent(inst) && inst.tagName.toUpperCase() === tagName.toUpperCase();
1714
+ });
1715
+ }
1716
+ /**
1717
+ * Like scryRenderedDOMComponentsWithTag but expects there to be one result,
1718
+ * and returns that one result, or throws exception if there is any other
1719
+ * number of matches besides one.
1720
+ * @return {!ReactDOMComponent} The one match.
1721
+ */
1722
+
1723
+
1724
+ function findRenderedDOMComponentWithTag(root, tagName) {
1725
+ validateClassInstance(root, 'findRenderedDOMComponentWithTag');
1726
+ var all = scryRenderedDOMComponentsWithTag(root, tagName);
1727
+
1728
+ if (all.length !== 1) {
1729
+ throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for tag:' + tagName);
1730
+ }
1731
+
1732
+ return all[0];
1733
+ }
1734
+ /**
1735
+ * Finds all instances of components with type equal to `componentType`.
1736
+ * @return {array} an array of all the matches.
1737
+ */
1738
+
1739
+
1740
+ function scryRenderedComponentsWithType(root, componentType) {
1741
+ validateClassInstance(root, 'scryRenderedComponentsWithType');
1742
+ return findAllInRenderedTree(root, function (inst) {
1743
+ return isCompositeComponentWithType(inst, componentType);
1744
+ });
1745
+ }
1746
+ /**
1747
+ * Same as `scryRenderedComponentsWithType` but expects there to be one result
1748
+ * and returns that one result, or throws exception if there is any other
1749
+ * number of matches besides one.
1750
+ * @return {!ReactComponent} The one match.
1751
+ */
1752
+
1753
+
1754
+ function findRenderedComponentWithType(root, componentType) {
1755
+ validateClassInstance(root, 'findRenderedComponentWithType');
1756
+ var all = scryRenderedComponentsWithType(root, componentType);
1757
+
1758
+ if (all.length !== 1) {
1759
+ throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for componentType:' + componentType);
1760
+ }
1761
+
1762
+ return all[0];
1763
+ }
1764
+ /**
1765
+ * Pass a mocked component module to this method to augment it with
1766
+ * useful methods that allow it to be used as a dummy React component.
1767
+ * Instead of rendering as usual, the component will become a simple
1768
+ * <div> containing any provided children.
1769
+ *
1770
+ * @param {object} module the mock function object exported from a
1771
+ * module that defines the component to be mocked
1772
+ * @param {?string} mockTagName optional dummy root tag name to return
1773
+ * from render method (overrides
1774
+ * module.mockTagName if provided)
1775
+ * @return {object} the ReactTestUtils object (for chaining)
1776
+ */
1777
+
1778
+
1779
+ function mockComponent(module, mockTagName) {
1780
+ {
1781
+ if (!hasWarnedAboutDeprecatedMockComponent) {
1782
+ hasWarnedAboutDeprecatedMockComponent = true;
1783
+
1784
+ warn('ReactTestUtils.mockComponent() is deprecated. ' + 'Use shallow rendering or jest.mock() instead.\n\n' + 'See https://reactjs.org/link/test-utils-mock-component for more information.');
1785
+ }
1786
+ }
1787
+
1788
+ mockTagName = mockTagName || module.mockTagName || 'div';
1789
+ module.prototype.render.mockImplementation(function () {
1790
+ return React.createElement(mockTagName, null, this.props.children);
1791
+ });
1792
+ return this;
1793
+ }
1794
+
1795
+ function nativeTouchData(x, y) {
1796
+ return {
1797
+ touches: [{
1798
+ pageX: x,
1799
+ pageY: y
1800
+ }]
1801
+ };
1802
+ } // Start of inline: the below functions were inlined from
1803
+ // EventPropagator.js, as they deviated from ReactDOM's newer
1804
+ // implementations.
1805
+
1806
+ /**
1807
+ * Dispatch the event to the listener.
1808
+ * @param {SyntheticEvent} event SyntheticEvent to handle
1809
+ * @param {function} listener Application-level callback
1810
+ * @param {*} inst Internal component instance
1811
+ */
1812
+
1813
+
1814
+ function executeDispatch(event, listener, inst) {
1815
+ var type = event.type || 'unknown-event';
1816
+ event.currentTarget = getNodeFromInstance(inst);
1817
+ invokeGuardedCallbackAndCatchFirstError(type, listener, undefined, event);
1818
+ event.currentTarget = null;
1819
+ }
1820
+ /**
1821
+ * Standard/simple iteration through an event's collected dispatches.
1822
+ */
1823
+
1824
+
1825
+ function executeDispatchesInOrder(event) {
1826
+ var dispatchListeners = event._dispatchListeners;
1827
+ var dispatchInstances = event._dispatchInstances;
1828
+
1829
+ if (Array.isArray(dispatchListeners)) {
1830
+ for (var i = 0; i < dispatchListeners.length; i++) {
1831
+ if (event.isPropagationStopped()) {
1832
+ break;
1833
+ } // Listeners and Instances are two parallel arrays that are always in sync.
1834
+
1835
+
1836
+ executeDispatch(event, dispatchListeners[i], dispatchInstances[i]);
1837
+ }
1838
+ } else if (dispatchListeners) {
1839
+ executeDispatch(event, dispatchListeners, dispatchInstances);
1840
+ }
1841
+
1842
+ event._dispatchListeners = null;
1843
+ event._dispatchInstances = null;
1844
+ }
1845
+ /**
1846
+ * Dispatches an event and releases it back into the pool, unless persistent.
1847
+ *
1848
+ * @param {?object} event Synthetic event to be dispatched.
1849
+ * @private
1850
+ */
1851
+
1852
+
1853
+ var executeDispatchesAndRelease = function (event) {
1854
+ if (event) {
1855
+ executeDispatchesInOrder(event);
1856
+
1857
+ if (!event.isPersistent()) {
1858
+ event.constructor.release(event);
1859
+ }
1860
+ }
1861
+ };
1862
+
1863
+ function isInteractive(tag) {
1864
+ return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
1865
+ }
1866
+
1867
+ function getParent(inst) {
1868
+ do {
1869
+ inst = inst.return; // TODO: If this is a HostRoot we might want to bail out.
1870
+ // That is depending on if we want nested subtrees (layers) to bubble
1871
+ // events to their parent. We could also go through parentNode on the
1872
+ // host node but that wouldn't work for React Native and doesn't let us
1873
+ // do the portal feature.
1874
+ } while (inst && inst.tag !== HostComponent);
1875
+
1876
+ if (inst) {
1877
+ return inst;
1878
+ }
1879
+
1880
+ return null;
1881
+ }
1882
+ /**
1883
+ * Simulates the traversal of a two-phase, capture/bubble event dispatch.
1884
+ */
1885
+
1886
+
1887
+ function traverseTwoPhase(inst, fn, arg) {
1888
+ var path = [];
1889
+
1890
+ while (inst) {
1891
+ path.push(inst);
1892
+ inst = getParent(inst);
1893
+ }
1894
+
1895
+ var i;
1896
+
1897
+ for (i = path.length; i-- > 0;) {
1898
+ fn(path[i], 'captured', arg);
1899
+ }
1900
+
1901
+ for (i = 0; i < path.length; i++) {
1902
+ fn(path[i], 'bubbled', arg);
1903
+ }
1904
+ }
1905
+
1906
+ function shouldPreventMouseEvent(name, type, props) {
1907
+ switch (name) {
1908
+ case 'onClick':
1909
+ case 'onClickCapture':
1910
+ case 'onDoubleClick':
1911
+ case 'onDoubleClickCapture':
1912
+ case 'onMouseDown':
1913
+ case 'onMouseDownCapture':
1914
+ case 'onMouseMove':
1915
+ case 'onMouseMoveCapture':
1916
+ case 'onMouseUp':
1917
+ case 'onMouseUpCapture':
1918
+ case 'onMouseEnter':
1919
+ return !!(props.disabled && isInteractive(type));
1920
+
1921
+ default:
1922
+ return false;
1923
+ }
1924
+ }
1925
+ /**
1926
+ * @param {object} inst The instance, which is the source of events.
1927
+ * @param {string} registrationName Name of listener (e.g. `onClick`).
1928
+ * @return {?function} The stored callback.
1929
+ */
1930
+
1931
+
1932
+ function getListener(inst, registrationName) {
1933
+ // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not
1934
+ // live here; needs to be moved to a better place soon
1935
+ var stateNode = inst.stateNode;
1936
+
1937
+ if (!stateNode) {
1938
+ // Work in progress (ex: onload events in incremental mode).
1939
+ return null;
1940
+ }
1941
+
1942
+ var props = getFiberCurrentPropsFromNode(stateNode);
1943
+
1944
+ if (!props) {
1945
+ // Work in progress.
1946
+ return null;
1947
+ }
1948
+
1949
+ var listener = props[registrationName];
1950
+
1951
+ if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
1952
+ return null;
1953
+ }
1954
+
1955
+ if (!(!listener || typeof listener === 'function')) {
1956
+ {
1957
+ throw Error( "Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener + "` type." );
1958
+ }
1959
+ }
1960
+
1961
+ return listener;
1962
+ }
1963
+
1964
+ function listenerAtPhase(inst, event, propagationPhase) {
1965
+ var registrationName = event._reactName;
1966
+
1967
+ if (propagationPhase === 'captured') {
1968
+ registrationName += 'Capture';
1969
+ }
1970
+
1971
+ return getListener(inst, registrationName);
1972
+ }
1973
+
1974
+ function accumulateDispatches(inst, ignoredDirection, event) {
1975
+ if (inst && event && event._reactName) {
1976
+ var registrationName = event._reactName;
1977
+ var listener = getListener(inst, registrationName);
1978
+
1979
+ if (listener) {
1980
+ if (event._dispatchListeners == null) {
1981
+ event._dispatchListeners = [];
1982
+ }
1983
+
1984
+ if (event._dispatchInstances == null) {
1985
+ event._dispatchInstances = [];
1986
+ }
1987
+
1988
+ event._dispatchListeners.push(listener);
1989
+
1990
+ event._dispatchInstances.push(inst);
1991
+ }
1992
+ }
1993
+ }
1994
+
1995
+ function accumulateDirectionalDispatches(inst, phase, event) {
1996
+ {
1997
+ if (!inst) {
1998
+ error('Dispatching inst must not be null');
1999
+ }
2000
+ }
2001
+
2002
+ var listener = listenerAtPhase(inst, event, phase);
2003
+
2004
+ if (listener) {
2005
+ if (event._dispatchListeners == null) {
2006
+ event._dispatchListeners = [];
2007
+ }
2008
+
2009
+ if (event._dispatchInstances == null) {
2010
+ event._dispatchInstances = [];
2011
+ }
2012
+
2013
+ event._dispatchListeners.push(listener);
2014
+
2015
+ event._dispatchInstances.push(inst);
2016
+ }
2017
+ }
2018
+
2019
+ function accumulateDirectDispatchesSingle(event) {
2020
+ if (event && event._reactName) {
2021
+ accumulateDispatches(event._targetInst, null, event);
2022
+ }
2023
+ }
2024
+
2025
+ function accumulateTwoPhaseDispatchesSingle(event) {
2026
+ if (event && event._reactName) {
2027
+ traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);
2028
+ }
2029
+ } // End of inline
2030
+
2031
+
2032
+ var Simulate = {};
2033
+ var directDispatchEventTypes = new Set(['mouseEnter', 'mouseLeave', 'pointerEnter', 'pointerLeave']);
2034
+ /**
2035
+ * Exports:
2036
+ *
2037
+ * - `Simulate.click(Element)`
2038
+ * - `Simulate.mouseMove(Element)`
2039
+ * - `Simulate.change(Element)`
2040
+ * - ... (All keys from event plugin `eventTypes` objects)
2041
+ */
2042
+
2043
+ function makeSimulator(eventType) {
2044
+ return function (domNode, eventData) {
2045
+ if (!!React.isValidElement(domNode)) {
2046
+ {
2047
+ throw Error( "TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering." );
2048
+ }
2049
+ }
2050
+
2051
+ if (!!isCompositeComponent(domNode)) {
2052
+ {
2053
+ throw Error( "TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead." );
2054
+ }
2055
+ }
2056
+
2057
+ var reactName = 'on' + eventType[0].toUpperCase() + eventType.slice(1);
2058
+ var fakeNativeEvent = new Event();
2059
+ fakeNativeEvent.target = domNode;
2060
+ fakeNativeEvent.type = eventType.toLowerCase();
2061
+ var targetInst = getInstanceFromNode(domNode);
2062
+ var event = new SyntheticEvent(reactName, fakeNativeEvent.type, targetInst, fakeNativeEvent, domNode); // Since we aren't using pooling, always persist the event. This will make
2063
+ // sure it's marked and won't warn when setting additional properties.
2064
+
2065
+ event.persist();
2066
+
2067
+ _assign(event, eventData);
2068
+
2069
+ if (directDispatchEventTypes.has(eventType)) {
2070
+ accumulateDirectDispatchesSingle(event);
2071
+ } else {
2072
+ accumulateTwoPhaseDispatchesSingle(event);
2073
+ }
2074
+
2075
+ ReactDOM.unstable_batchedUpdates(function () {
2076
+ // Normally extractEvent enqueues a state restore, but we'll just always
2077
+ // do that since we're by-passing it here.
2078
+ enqueueStateRestore(domNode);
2079
+ executeDispatchesAndRelease(event);
2080
+ rethrowCaughtError();
2081
+ });
2082
+ restoreStateIfNeeded();
2083
+ };
2084
+ } // A one-time snapshot with no plans to update. We'll probably want to deprecate Simulate API.
2085
+
2086
+
2087
+ var simulatedEventTypes = ['blur', 'cancel', 'click', 'close', 'contextMenu', 'copy', 'cut', 'auxClick', 'doubleClick', 'dragEnd', 'dragStart', 'drop', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'mouseDown', 'mouseUp', 'paste', 'pause', 'play', 'pointerCancel', 'pointerDown', 'pointerUp', 'rateChange', 'reset', 'seeked', 'submit', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'drag', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'mouseMove', 'mouseOut', 'mouseOver', 'pointerMove', 'pointerOut', 'pointerOver', 'scroll', 'toggle', 'touchMove', 'wheel', 'abort', 'animationEnd', 'animationIteration', 'animationStart', 'canPlay', 'canPlayThrough', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'playing', 'progress', 'seeking', 'stalled', 'suspend', 'timeUpdate', 'transitionEnd', 'waiting', 'mouseEnter', 'mouseLeave', 'pointerEnter', 'pointerLeave', 'change', 'select', 'beforeInput', 'compositionEnd', 'compositionStart', 'compositionUpdate'];
2088
+
2089
+ function buildSimulators() {
2090
+ simulatedEventTypes.forEach(function (eventType) {
2091
+ Simulate[eventType] = makeSimulator(eventType);
2092
+ });
2093
+ }
2094
+
2095
+ buildSimulators();
2096
+
2097
+ exports.Simulate = Simulate;
2098
+ exports.act = act;
2099
+ exports.findAllInRenderedTree = findAllInRenderedTree;
2100
+ exports.findRenderedComponentWithType = findRenderedComponentWithType;
2101
+ exports.findRenderedDOMComponentWithClass = findRenderedDOMComponentWithClass;
2102
+ exports.findRenderedDOMComponentWithTag = findRenderedDOMComponentWithTag;
2103
+ exports.isCompositeComponent = isCompositeComponent;
2104
+ exports.isCompositeComponentWithType = isCompositeComponentWithType;
2105
+ exports.isDOMComponent = isDOMComponent;
2106
+ exports.isDOMComponentElement = isDOMComponentElement;
2107
+ exports.isElement = isElement;
2108
+ exports.isElementOfType = isElementOfType;
2109
+ exports.mockComponent = mockComponent;
2110
+ exports.nativeTouchData = nativeTouchData;
2111
+ exports.renderIntoDocument = renderIntoDocument;
2112
+ exports.scryRenderedComponentsWithType = scryRenderedComponentsWithType;
2113
+ exports.scryRenderedDOMComponentsWithClass = scryRenderedDOMComponentsWithClass;
2114
+ exports.scryRenderedDOMComponentsWithTag = scryRenderedDOMComponentsWithTag;
2115
+ exports.traverseTwoPhase = traverseTwoPhase;
2116
+ exports.unstable_concurrentAct = unstable_concurrentAct;
2117
+ })();
2118
+ }