isomorfeus-preact 10.5.7 → 10.5.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (930) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +28 -1
  3. data/README.md +2 -5
  4. data/lib/isomorfeus/preact/imports.rb +0 -7
  5. data/lib/isomorfeus/preact_view_helper.rb +2 -2
  6. data/lib/isomorfeus-preact.rb +3 -0
  7. data/lib/lucid_app/context.rb +12 -12
  8. data/lib/nano_css.rb +464 -0
  9. data/lib/preact/version.rb +1 -1
  10. data/node_modules/.package-lock.json +6 -236
  11. data/node_modules/preact/compat/dist/compat.js +1 -1
  12. data/node_modules/preact/compat/dist/compat.js.map +1 -1
  13. data/node_modules/preact/compat/dist/compat.mjs +1 -1
  14. data/node_modules/preact/compat/dist/compat.mjs.map +1 -1
  15. data/node_modules/preact/compat/dist/compat.module.js +1 -1
  16. data/node_modules/preact/compat/dist/compat.module.js.map +1 -1
  17. data/node_modules/preact/compat/dist/compat.umd.js +1 -1
  18. data/node_modules/preact/compat/dist/compat.umd.js.map +1 -1
  19. data/node_modules/preact/compat/src/index.d.ts +1 -1
  20. data/node_modules/preact/compat/src/render.js +10 -3
  21. data/node_modules/preact/debug/dist/debug.js.map +1 -1
  22. data/node_modules/preact/debug/dist/debug.mjs.map +1 -1
  23. data/node_modules/preact/debug/dist/debug.module.js.map +1 -1
  24. data/node_modules/preact/debug/dist/debug.umd.js.map +1 -1
  25. data/node_modules/preact/devtools/dist/devtools.js +1 -1
  26. data/node_modules/preact/devtools/dist/devtools.js.map +1 -1
  27. data/node_modules/preact/devtools/dist/devtools.mjs +1 -1
  28. data/node_modules/preact/devtools/dist/devtools.mjs.map +1 -1
  29. data/node_modules/preact/devtools/dist/devtools.module.js +1 -1
  30. data/node_modules/preact/devtools/dist/devtools.module.js.map +1 -1
  31. data/node_modules/preact/devtools/dist/devtools.umd.js +1 -1
  32. data/node_modules/preact/devtools/dist/devtools.umd.js.map +1 -1
  33. data/node_modules/preact/devtools/src/devtools.js +1 -1
  34. data/node_modules/preact/dist/index.d.ts +1295 -0
  35. data/node_modules/preact/dist/preact.js +1 -1
  36. data/node_modules/preact/dist/preact.js.map +1 -1
  37. data/node_modules/preact/dist/preact.min.js +1 -1
  38. data/node_modules/preact/dist/preact.min.js.map +1 -1
  39. data/node_modules/preact/dist/preact.mjs +1 -1
  40. data/node_modules/preact/dist/preact.mjs.map +1 -1
  41. data/node_modules/preact/dist/preact.module.js +1 -1
  42. data/node_modules/preact/dist/preact.module.js.map +1 -1
  43. data/node_modules/preact/dist/preact.umd.js +1 -1
  44. data/node_modules/preact/dist/preact.umd.js.map +1 -1
  45. data/node_modules/preact/hooks/dist/hooks.js +1 -1
  46. data/node_modules/preact/hooks/dist/hooks.js.map +1 -1
  47. data/node_modules/preact/hooks/dist/hooks.mjs +1 -1
  48. data/node_modules/preact/hooks/dist/hooks.mjs.map +1 -1
  49. data/node_modules/preact/hooks/dist/hooks.module.js +1 -1
  50. data/node_modules/preact/hooks/dist/hooks.module.js.map +1 -1
  51. data/node_modules/preact/hooks/dist/hooks.umd.js +1 -1
  52. data/node_modules/preact/hooks/dist/hooks.umd.js.map +1 -1
  53. data/node_modules/preact/hooks/src/index.js +1 -8
  54. data/node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs.map +1 -0
  55. data/node_modules/preact/package.json +8 -4
  56. data/node_modules/preact/src/create-element.js +2 -1
  57. data/node_modules/preact/src/diff/children.js +7 -19
  58. data/node_modules/preact/src/jsx.d.ts +45 -2
  59. data/node_modules/preact/test-utils/dist/testUtils.mjs.map +1 -1
  60. data/node_modules/wouter-preact/cjs/index.js +1 -1
  61. data/node_modules/wouter-preact/cjs/use-location.js +6 -6
  62. data/node_modules/wouter-preact/index.js +1 -1
  63. data/node_modules/wouter-preact/package.json +1 -1
  64. data/node_modules/wouter-preact/use-location.js +6 -6
  65. data/package.json +2 -3
  66. metadata +24 -885
  67. data/node_modules/.bin/loose-envify +0 -12
  68. data/node_modules/.bin/loose-envify.cmd +0 -17
  69. data/node_modules/.bin/loose-envify.ps1 +0 -28
  70. data/node_modules/@babel/runtime/LICENSE +0 -22
  71. data/node_modules/@babel/runtime/README.md +0 -19
  72. data/node_modules/@babel/runtime/helpers/AsyncGenerator.js +0 -99
  73. data/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -6
  74. data/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -31
  75. data/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -12
  76. data/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -6
  77. data/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -8
  78. data/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -10
  79. data/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -57
  80. data/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -16
  81. data/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -38
  82. data/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -8
  83. data/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -8
  84. data/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -23
  85. data/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -10
  86. data/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -14
  87. data/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -8
  88. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -8
  89. data/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -8
  90. data/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -10
  91. data/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -6
  92. data/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -11
  93. data/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -11
  94. data/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -9
  95. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -10
  96. data/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -8
  97. data/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -12
  98. data/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -10
  99. data/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -9
  100. data/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -6
  101. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -14
  102. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -14
  103. data/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -15
  104. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -9
  105. data/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -6
  106. data/node_modules/@babel/runtime/helpers/construct.js +0 -26
  107. data/node_modules/@babel/runtime/helpers/createClass.js +0 -18
  108. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -61
  109. data/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -25
  110. data/node_modules/@babel/runtime/helpers/createSuper.js +0 -25
  111. data/node_modules/@babel/runtime/helpers/decorate.js +0 -401
  112. data/node_modules/@babel/runtime/helpers/defaults.js +0 -17
  113. data/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -25
  114. data/node_modules/@babel/runtime/helpers/defineProperty.js +0 -17
  115. data/node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js +0 -95
  116. data/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -3
  117. data/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -28
  118. data/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -9
  119. data/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -3
  120. data/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -4
  121. data/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
  122. data/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -54
  123. data/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -13
  124. data/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -35
  125. data/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -4
  126. data/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -5
  127. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -20
  128. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -7
  129. data/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -11
  130. data/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  131. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  132. data/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -5
  133. data/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -7
  134. data/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -3
  135. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -6
  136. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -6
  137. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  138. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -7
  139. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -4
  140. data/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  141. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -7
  142. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  143. data/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -3
  144. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -8
  145. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -8
  146. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -9
  147. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  148. data/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -3
  149. data/node_modules/@babel/runtime/helpers/esm/construct.js +0 -18
  150. data/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  151. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -57
  152. data/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -21
  153. data/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  154. data/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -396
  155. data/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -14
  156. data/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -22
  157. data/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  158. data/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
  159. data/node_modules/@babel/runtime/helpers/esm/get.js +0 -20
  160. data/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  161. data/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -15
  162. data/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -6
  163. data/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  164. data/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -3
  165. data/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -7
  166. data/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -5
  167. data/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -51
  168. data/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -3
  169. data/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -12
  170. data/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -3
  171. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  172. data/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +0 -14
  173. data/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -46
  174. data/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  175. data/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -5
  176. data/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -3
  177. data/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -3
  178. data/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -3
  179. data/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -19
  180. data/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -39
  181. data/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  182. data/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  183. data/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  184. data/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -11
  185. data/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -3
  186. data/node_modules/@babel/runtime/helpers/esm/set.js +0 -51
  187. data/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
  188. data/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  189. data/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -7
  190. data/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +0 -7
  191. data/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -9
  192. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -11
  193. data/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -8
  194. data/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -3
  195. data/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -5
  196. data/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -1
  197. data/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -7
  198. data/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -7
  199. data/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -13
  200. data/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -6
  201. data/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  202. data/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  203. data/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -6
  204. data/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -37
  205. data/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -65
  206. data/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -3
  207. data/node_modules/@babel/runtime/helpers/extends.js +0 -21
  208. data/node_modules/@babel/runtime/helpers/get.js +0 -27
  209. data/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -10
  210. data/node_modules/@babel/runtime/helpers/inherits.js +0 -19
  211. data/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -10
  212. data/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -12
  213. data/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -6
  214. data/node_modules/@babel/runtime/helpers/instanceof.js +0 -10
  215. data/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -8
  216. data/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -54
  217. data/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -6
  218. data/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -15
  219. data/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -6
  220. data/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -32
  221. data/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +0 -17
  222. data/node_modules/@babel/runtime/helpers/jsx.js +0 -50
  223. data/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -13
  224. data/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -8
  225. data/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -6
  226. data/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -6
  227. data/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -6
  228. data/node_modules/@babel/runtime/helpers/objectSpread.js +0 -23
  229. data/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -42
  230. data/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -23
  231. data/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -17
  232. data/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -16
  233. data/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -6
  234. data/node_modules/@babel/runtime/helpers/set.js +0 -55
  235. data/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -12
  236. data/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -10
  237. data/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -14
  238. data/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +0 -14
  239. data/node_modules/@babel/runtime/helpers/superPropBase.js +0 -13
  240. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -14
  241. data/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -11
  242. data/node_modules/@babel/runtime/helpers/tdz.js +0 -6
  243. data/node_modules/@babel/runtime/helpers/temporalRef.js +0 -10
  244. data/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -4
  245. data/node_modules/@babel/runtime/helpers/toArray.js +0 -14
  246. data/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -14
  247. data/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -17
  248. data/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -11
  249. data/node_modules/@babel/runtime/helpers/typeof.js +0 -22
  250. data/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -13
  251. data/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -10
  252. data/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -45
  253. data/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -72
  254. data/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -6
  255. data/node_modules/@babel/runtime/package.json +0 -848
  256. data/node_modules/@babel/runtime/regenerator/index.js +0 -1
  257. data/node_modules/css-in-js-utils/Changelog.md +0 -16
  258. data/node_modules/css-in-js-utils/LICENSE +0 -21
  259. data/node_modules/css-in-js-utils/README.md +0 -241
  260. data/node_modules/css-in-js-utils/lib/__tests__/assignStyle-test.js +0 -117
  261. data/node_modules/css-in-js-utils/lib/__tests__/camelCaseProperty-test.js +0 -15
  262. data/node_modules/css-in-js-utils/lib/__tests__/cssifyDeclaration-test.js +0 -15
  263. data/node_modules/css-in-js-utils/lib/__tests__/cssifyObject-test.js +0 -31
  264. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedProperty-test.js +0 -19
  265. data/node_modules/css-in-js-utils/lib/__tests__/isPrefixedValue-test.js +0 -19
  266. data/node_modules/css-in-js-utils/lib/__tests__/isUnitlessProperty-test.js +0 -43
  267. data/node_modules/css-in-js-utils/lib/__tests__/normalizeProperty-test.js +0 -21
  268. data/node_modules/css-in-js-utils/lib/__tests__/resolveArrayValue-test.js +0 -17
  269. data/node_modules/css-in-js-utils/lib/__tests__/unprefixProperty-test.js +0 -19
  270. data/node_modules/css-in-js-utils/lib/__tests__/unprefixValue-test.js +0 -20
  271. data/node_modules/css-in-js-utils/lib/assignStyle.js +0 -37
  272. data/node_modules/css-in-js-utils/lib/camelCaseProperty.js +0 -15
  273. data/node_modules/css-in-js-utils/lib/cssifyDeclaration.js +0 -17
  274. data/node_modules/css-in-js-utils/lib/cssifyObject.js +0 -34
  275. data/node_modules/css-in-js-utils/lib/hyphenateProperty.js +0 -17
  276. data/node_modules/css-in-js-utils/lib/index.js +0 -71
  277. data/node_modules/css-in-js-utils/lib/isPrefixedProperty.js +0 -12
  278. data/node_modules/css-in-js-utils/lib/isPrefixedValue.js +0 -12
  279. data/node_modules/css-in-js-utils/lib/isUnitlessProperty.js +0 -64
  280. data/node_modules/css-in-js-utils/lib/normalizeProperty.js +0 -21
  281. data/node_modules/css-in-js-utils/lib/resolveArrayValue.js +0 -19
  282. data/node_modules/css-in-js-utils/lib/unprefixProperty.js +0 -13
  283. data/node_modules/css-in-js-utils/lib/unprefixValue.js +0 -16
  284. data/node_modules/css-in-js-utils/package.json +0 -56
  285. data/node_modules/css-tree/CHANGELOG.md +0 -590
  286. data/node_modules/css-tree/LICENSE +0 -19
  287. data/node_modules/css-tree/README.md +0 -130
  288. data/node_modules/css-tree/data/index.js +0 -103
  289. data/node_modules/css-tree/data/patch.json +0 -721
  290. data/node_modules/css-tree/dist/csstree.js +0 -12606
  291. data/node_modules/css-tree/dist/csstree.min.js +0 -1
  292. data/node_modules/css-tree/lib/common/List.js +0 -576
  293. data/node_modules/css-tree/lib/common/OffsetToLocation.js +0 -91
  294. data/node_modules/css-tree/lib/common/SyntaxError.js +0 -82
  295. data/node_modules/css-tree/lib/common/TokenStream.js +0 -219
  296. data/node_modules/css-tree/lib/common/adopt-buffer.js +0 -10
  297. data/node_modules/css-tree/lib/convertor/create.js +0 -28
  298. data/node_modules/css-tree/lib/convertor/index.js +0 -3
  299. data/node_modules/css-tree/lib/definition-syntax/SyntaxError.js +0 -14
  300. data/node_modules/css-tree/lib/definition-syntax/generate.js +0 -129
  301. data/node_modules/css-tree/lib/definition-syntax/index.js +0 -6
  302. data/node_modules/css-tree/lib/definition-syntax/parse.js +0 -568
  303. data/node_modules/css-tree/lib/definition-syntax/tokenizer.js +0 -55
  304. data/node_modules/css-tree/lib/definition-syntax/walk.js +0 -52
  305. data/node_modules/css-tree/lib/generator/create.js +0 -66
  306. data/node_modules/css-tree/lib/generator/index.js +0 -4
  307. data/node_modules/css-tree/lib/generator/sourceMap.js +0 -95
  308. data/node_modules/css-tree/lib/index.js +0 -1
  309. data/node_modules/css-tree/lib/lexer/Lexer.js +0 -466
  310. data/node_modules/css-tree/lib/lexer/error.js +0 -127
  311. data/node_modules/css-tree/lib/lexer/generic-an-plus-b.js +0 -236
  312. data/node_modules/css-tree/lib/lexer/generic-urange.js +0 -159
  313. data/node_modules/css-tree/lib/lexer/generic.js +0 -585
  314. data/node_modules/css-tree/lib/lexer/index.js +0 -3
  315. data/node_modules/css-tree/lib/lexer/match-graph.js +0 -455
  316. data/node_modules/css-tree/lib/lexer/match.js +0 -639
  317. data/node_modules/css-tree/lib/lexer/prepare-tokens.js +0 -73
  318. data/node_modules/css-tree/lib/lexer/search.js +0 -65
  319. data/node_modules/css-tree/lib/lexer/structure.js +0 -163
  320. data/node_modules/css-tree/lib/lexer/trace.js +0 -79
  321. data/node_modules/css-tree/lib/parser/create.js +0 -304
  322. data/node_modules/css-tree/lib/parser/index.js +0 -4
  323. data/node_modules/css-tree/lib/parser/sequence.js +0 -54
  324. data/node_modules/css-tree/lib/syntax/atrule/font-face.js +0 -8
  325. data/node_modules/css-tree/lib/syntax/atrule/import.js +0 -40
  326. data/node_modules/css-tree/lib/syntax/atrule/index.js +0 -7
  327. data/node_modules/css-tree/lib/syntax/atrule/media.js +0 -12
  328. data/node_modules/css-tree/lib/syntax/atrule/page.js +0 -12
  329. data/node_modules/css-tree/lib/syntax/atrule/supports.js +0 -89
  330. data/node_modules/css-tree/lib/syntax/config/lexer.js +0 -9
  331. data/node_modules/css-tree/lib/syntax/config/mix.js +0 -140
  332. data/node_modules/css-tree/lib/syntax/config/parser.js +0 -25
  333. data/node_modules/css-tree/lib/syntax/config/walker.js +0 -3
  334. data/node_modules/css-tree/lib/syntax/create.js +0 -77
  335. data/node_modules/css-tree/lib/syntax/function/expression.js +0 -7
  336. data/node_modules/css-tree/lib/syntax/function/var.js +0 -43
  337. data/node_modules/css-tree/lib/syntax/index.js +0 -21
  338. data/node_modules/css-tree/lib/syntax/node/AnPlusB.js +0 -297
  339. data/node_modules/css-tree/lib/syntax/node/Atrule.js +0 -107
  340. data/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js +0 -51
  341. data/node_modules/css-tree/lib/syntax/node/AttributeSelector.js +0 -165
  342. data/node_modules/css-tree/lib/syntax/node/Block.js +0 -91
  343. data/node_modules/css-tree/lib/syntax/node/Brackets.js +0 -34
  344. data/node_modules/css-tree/lib/syntax/node/CDC.js +0 -19
  345. data/node_modules/css-tree/lib/syntax/node/CDO.js +0 -19
  346. data/node_modules/css-tree/lib/syntax/node/ClassSelector.js +0 -29
  347. data/node_modules/css-tree/lib/syntax/node/Combinator.js +0 -55
  348. data/node_modules/css-tree/lib/syntax/node/Comment.js +0 -36
  349. data/node_modules/css-tree/lib/syntax/node/Declaration.js +0 -169
  350. data/node_modules/css-tree/lib/syntax/node/DeclarationList.js +0 -49
  351. data/node_modules/css-tree/lib/syntax/node/Dimension.js +0 -29
  352. data/node_modules/css-tree/lib/syntax/node/Function.js +0 -40
  353. data/node_modules/css-tree/lib/syntax/node/Hash.js +0 -26
  354. data/node_modules/css-tree/lib/syntax/node/IdSelector.js +0 -27
  355. data/node_modules/css-tree/lib/syntax/node/Identifier.js +0 -20
  356. data/node_modules/css-tree/lib/syntax/node/MediaFeature.js +0 -76
  357. data/node_modules/css-tree/lib/syntax/node/MediaQuery.js +0 -68
  358. data/node_modules/css-tree/lib/syntax/node/MediaQueryList.js +0 -36
  359. data/node_modules/css-tree/lib/syntax/node/Nth.js +0 -51
  360. data/node_modules/css-tree/lib/syntax/node/Number.js +0 -18
  361. data/node_modules/css-tree/lib/syntax/node/Operator.js +0 -21
  362. data/node_modules/css-tree/lib/syntax/node/Parentheses.js +0 -34
  363. data/node_modules/css-tree/lib/syntax/node/Percentage.js +0 -27
  364. data/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js +0 -61
  365. data/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js +0 -62
  366. data/node_modules/css-tree/lib/syntax/node/Ratio.js +0 -66
  367. data/node_modules/css-tree/lib/syntax/node/Raw.js +0 -87
  368. data/node_modules/css-tree/lib/syntax/node/Rule.js +0 -54
  369. data/node_modules/css-tree/lib/syntax/node/Selector.js +0 -32
  370. data/node_modules/css-tree/lib/syntax/node/SelectorList.js +0 -39
  371. data/node_modules/css-tree/lib/syntax/node/String.js +0 -18
  372. data/node_modules/css-tree/lib/syntax/node/StyleSheet.js +0 -81
  373. data/node_modules/css-tree/lib/syntax/node/TypeSelector.js +0 -53
  374. data/node_modules/css-tree/lib/syntax/node/UnicodeRange.js +0 -173
  375. data/node_modules/css-tree/lib/syntax/node/Url.js +0 -69
  376. data/node_modules/css-tree/lib/syntax/node/Value.js +0 -19
  377. data/node_modules/css-tree/lib/syntax/node/WhiteSpace.js +0 -26
  378. data/node_modules/css-tree/lib/syntax/node/index.js +0 -42
  379. data/node_modules/css-tree/lib/syntax/pseudo/common/nth.js +0 -9
  380. data/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js +0 -9
  381. data/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js +0 -7
  382. data/node_modules/css-tree/lib/syntax/pseudo/dir.js +0 -7
  383. data/node_modules/css-tree/lib/syntax/pseudo/has.js +0 -7
  384. data/node_modules/css-tree/lib/syntax/pseudo/index.js +0 -12
  385. data/node_modules/css-tree/lib/syntax/pseudo/lang.js +0 -7
  386. data/node_modules/css-tree/lib/syntax/pseudo/matches.js +0 -1
  387. data/node_modules/css-tree/lib/syntax/pseudo/not.js +0 -1
  388. data/node_modules/css-tree/lib/syntax/pseudo/nth-child.js +0 -1
  389. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js +0 -1
  390. data/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js +0 -1
  391. data/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js +0 -1
  392. data/node_modules/css-tree/lib/syntax/pseudo/slotted.js +0 -7
  393. data/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js +0 -3
  394. data/node_modules/css-tree/lib/syntax/scope/default.js +0 -87
  395. data/node_modules/css-tree/lib/syntax/scope/index.js +0 -5
  396. data/node_modules/css-tree/lib/syntax/scope/selector.js +0 -80
  397. data/node_modules/css-tree/lib/syntax/scope/value.js +0 -5
  398. data/node_modules/css-tree/lib/tokenizer/char-code-definitions.js +0 -249
  399. data/node_modules/css-tree/lib/tokenizer/const.js +0 -40
  400. data/node_modules/css-tree/lib/tokenizer/index.js +0 -591
  401. data/node_modules/css-tree/lib/tokenizer/utils.js +0 -243
  402. data/node_modules/css-tree/lib/utils/clone.js +0 -21
  403. data/node_modules/css-tree/lib/utils/createCustomError.js +0 -17
  404. data/node_modules/css-tree/lib/utils/names.js +0 -104
  405. data/node_modules/css-tree/lib/walker/create.js +0 -284
  406. data/node_modules/css-tree/lib/walker/index.js +0 -4
  407. data/node_modules/css-tree/package.json +0 -60
  408. data/node_modules/csstype/LICENSE +0 -19
  409. data/node_modules/csstype/README.md +0 -271
  410. data/node_modules/csstype/index.d.ts +0 -20496
  411. data/node_modules/csstype/index.js.flow +0 -6313
  412. data/node_modules/csstype/package.json +0 -64
  413. data/node_modules/error-stack-parser/CHANGELOG.md +0 -53
  414. data/node_modules/error-stack-parser/LICENSE +0 -19
  415. data/node_modules/error-stack-parser/README.md +0 -44
  416. data/node_modules/error-stack-parser/dist/error-stack-parser.js +0 -202
  417. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js +0 -2
  418. data/node_modules/error-stack-parser/dist/error-stack-parser.min.js.map +0 -1
  419. data/node_modules/error-stack-parser/error-stack-parser.d.ts +0 -66
  420. data/node_modules/error-stack-parser/error-stack-parser.js +0 -202
  421. data/node_modules/error-stack-parser/package.json +0 -63
  422. data/node_modules/fastest-stable-stringify/.eslintrc.yml +0 -26
  423. data/node_modules/fastest-stable-stringify/.travis.yml +0 -7
  424. data/node_modules/fastest-stable-stringify/LICENSE +0 -18
  425. data/node_modules/fastest-stable-stringify/README.md +0 -44
  426. data/node_modules/fastest-stable-stringify/benchmark/index.js +0 -32
  427. data/node_modules/fastest-stable-stringify/benchmark/test.json +0 -215
  428. data/node_modules/fastest-stable-stringify/example/key_cmp.js +0 -7
  429. data/node_modules/fastest-stable-stringify/example/nested.js +0 -3
  430. data/node_modules/fastest-stable-stringify/example/str.js +0 -3
  431. data/node_modules/fastest-stable-stringify/example/value_cmp.js +0 -7
  432. data/node_modules/fastest-stable-stringify/index.js +0 -60
  433. data/node_modules/fastest-stable-stringify/package.json +0 -54
  434. data/node_modules/fastest-stable-stringify/test/bench.js +0 -20
  435. data/node_modules/fastest-stable-stringify/test/nested.js +0 -24
  436. data/node_modules/fastest-stable-stringify/test/str.js +0 -52
  437. data/node_modules/fastest-stable-stringify/test/to-json.js +0 -22
  438. data/node_modules/hyphenate-style-name/LICENSE +0 -28
  439. data/node_modules/hyphenate-style-name/README.md +0 -28
  440. data/node_modules/hyphenate-style-name/index.cjs.js +0 -21
  441. data/node_modules/hyphenate-style-name/index.js +0 -19
  442. data/node_modules/hyphenate-style-name/package.json +0 -42
  443. data/node_modules/inline-style-prefixer/CHANGELOG.md +0 -195
  444. data/node_modules/inline-style-prefixer/LICENSE +0 -22
  445. data/node_modules/inline-style-prefixer/README.md +0 -100
  446. data/node_modules/inline-style-prefixer/es/createPrefixer.js +0 -47
  447. data/node_modules/inline-style-prefixer/es/data.js +0 -12
  448. data/node_modules/inline-style-prefixer/es/generator/generatePluginList.js +0 -21
  449. data/node_modules/inline-style-prefixer/es/generator/generatePrefixMap.js +0 -75
  450. data/node_modules/inline-style-prefixer/es/generator/index.js +0 -69
  451. data/node_modules/inline-style-prefixer/es/generator/maps/pluginMap.js +0 -108
  452. data/node_modules/inline-style-prefixer/es/generator/maps/propertyMap.js +0 -38
  453. data/node_modules/inline-style-prefixer/es/index.js +0 -26
  454. data/node_modules/inline-style-prefixer/es/plugins/backgroundClip.js +0 -7
  455. data/node_modules/inline-style-prefixer/es/plugins/calc.js +0 -11
  456. data/node_modules/inline-style-prefixer/es/plugins/crossFade.js +0 -12
  457. data/node_modules/inline-style-prefixer/es/plugins/cursor.js +0 -16
  458. data/node_modules/inline-style-prefixer/es/plugins/filter.js +0 -12
  459. data/node_modules/inline-style-prefixer/es/plugins/flex.js +0 -10
  460. data/node_modules/inline-style-prefixer/es/plugins/flexboxIE.js +0 -67
  461. data/node_modules/inline-style-prefixer/es/plugins/flexboxOld.js +0 -33
  462. data/node_modules/inline-style-prefixer/es/plugins/gradient.js +0 -14
  463. data/node_modules/inline-style-prefixer/es/plugins/grid.js +0 -129
  464. data/node_modules/inline-style-prefixer/es/plugins/imageSet.js +0 -12
  465. data/node_modules/inline-style-prefixer/es/plugins/index.js +0 -17
  466. data/node_modules/inline-style-prefixer/es/plugins/logical.js +0 -35
  467. data/node_modules/inline-style-prefixer/es/plugins/position.js +0 -5
  468. data/node_modules/inline-style-prefixer/es/plugins/sizing.js +0 -26
  469. data/node_modules/inline-style-prefixer/es/plugins/transition.js +0 -75
  470. data/node_modules/inline-style-prefixer/es/utils/addNewValuesOnly.js +0 -15
  471. data/node_modules/inline-style-prefixer/es/utils/capitalizeString.js +0 -3
  472. data/node_modules/inline-style-prefixer/es/utils/isObject.js +0 -3
  473. data/node_modules/inline-style-prefixer/es/utils/prefixProperty.js +0 -22
  474. data/node_modules/inline-style-prefixer/es/utils/prefixValue.js +0 -11
  475. data/node_modules/inline-style-prefixer/lib/createPrefixer.js +0 -66
  476. data/node_modules/inline-style-prefixer/lib/data.js +0 -17
  477. data/node_modules/inline-style-prefixer/lib/generator/generatePluginList.js +0 -32
  478. data/node_modules/inline-style-prefixer/lib/generator/generatePrefixMap.js +0 -86
  479. data/node_modules/inline-style-prefixer/lib/generator/index.js +0 -85
  480. data/node_modules/inline-style-prefixer/lib/generator/maps/pluginMap.js +0 -113
  481. data/node_modules/inline-style-prefixer/lib/generator/maps/propertyMap.js +0 -43
  482. data/node_modules/inline-style-prefixer/lib/index.js +0 -78
  483. data/node_modules/inline-style-prefixer/lib/plugins/backgroundClip.js +0 -13
  484. data/node_modules/inline-style-prefixer/lib/plugins/calc.js +0 -21
  485. data/node_modules/inline-style-prefixer/lib/plugins/crossFade.js +0 -22
  486. data/node_modules/inline-style-prefixer/lib/plugins/cursor.js +0 -22
  487. data/node_modules/inline-style-prefixer/lib/plugins/filter.js +0 -22
  488. data/node_modules/inline-style-prefixer/lib/plugins/flex.js +0 -16
  489. data/node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js +0 -73
  490. data/node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js +0 -39
  491. data/node_modules/inline-style-prefixer/lib/plugins/gradient.js +0 -26
  492. data/node_modules/inline-style-prefixer/lib/plugins/grid.js +0 -136
  493. data/node_modules/inline-style-prefixer/lib/plugins/imageSet.js +0 -22
  494. data/node_modules/inline-style-prefixer/lib/plugins/index.js +0 -69
  495. data/node_modules/inline-style-prefixer/lib/plugins/logical.js +0 -41
  496. data/node_modules/inline-style-prefixer/lib/plugins/position.js +0 -11
  497. data/node_modules/inline-style-prefixer/lib/plugins/sizing.js +0 -32
  498. data/node_modules/inline-style-prefixer/lib/plugins/transition.js +0 -92
  499. data/node_modules/inline-style-prefixer/lib/utils/addNewValuesOnly.js +0 -21
  500. data/node_modules/inline-style-prefixer/lib/utils/capitalizeString.js +0 -9
  501. data/node_modules/inline-style-prefixer/lib/utils/isObject.js +0 -9
  502. data/node_modules/inline-style-prefixer/lib/utils/prefixProperty.js +0 -32
  503. data/node_modules/inline-style-prefixer/lib/utils/prefixValue.js +0 -17
  504. data/node_modules/inline-style-prefixer/package.json +0 -79
  505. data/node_modules/isobject/LICENSE +0 -21
  506. data/node_modules/isobject/README.md +0 -122
  507. data/node_modules/isobject/index.d.ts +0 -5
  508. data/node_modules/isobject/index.js +0 -12
  509. data/node_modules/isobject/package.json +0 -74
  510. data/node_modules/js-tokens/CHANGELOG.md +0 -151
  511. data/node_modules/js-tokens/LICENSE +0 -21
  512. data/node_modules/js-tokens/README.md +0 -240
  513. data/node_modules/js-tokens/index.js +0 -23
  514. data/node_modules/js-tokens/package.json +0 -30
  515. data/node_modules/loose-envify/LICENSE +0 -21
  516. data/node_modules/loose-envify/README.md +0 -45
  517. data/node_modules/loose-envify/cli.js +0 -16
  518. data/node_modules/loose-envify/custom.js +0 -4
  519. data/node_modules/loose-envify/index.js +0 -3
  520. data/node_modules/loose-envify/loose-envify.js +0 -36
  521. data/node_modules/loose-envify/package.json +0 -36
  522. data/node_modules/loose-envify/replace.js +0 -65
  523. data/node_modules/mdn-data/LICENSE +0 -116
  524. data/node_modules/mdn-data/README.md +0 -56
  525. data/node_modules/mdn-data/api/index.js +0 -3
  526. data/node_modules/mdn-data/api/inheritance.json +0 -2681
  527. data/node_modules/mdn-data/api/inheritance.schema.json +0 -31
  528. data/node_modules/mdn-data/css/at-rules.json +0 -560
  529. data/node_modules/mdn-data/css/at-rules.schema.json +0 -132
  530. data/node_modules/mdn-data/css/definitions.json +0 -77
  531. data/node_modules/mdn-data/css/index.js +0 -8
  532. data/node_modules/mdn-data/css/properties.json +0 -9163
  533. data/node_modules/mdn-data/css/properties.schema.json +0 -402
  534. data/node_modules/mdn-data/css/selectors.json +0 -927
  535. data/node_modules/mdn-data/css/selectors.schema.json +0 -36
  536. data/node_modules/mdn-data/css/syntaxes.json +0 -761
  537. data/node_modules/mdn-data/css/syntaxes.schema.json +0 -15
  538. data/node_modules/mdn-data/css/types.json +0 -265
  539. data/node_modules/mdn-data/css/types.schema.json +0 -32
  540. data/node_modules/mdn-data/css/units.json +0 -199
  541. data/node_modules/mdn-data/css/units.schema.json +0 -28
  542. data/node_modules/mdn-data/index.js +0 -5
  543. data/node_modules/mdn-data/l10n/css.json +0 -1567
  544. data/node_modules/mdn-data/l10n/index.js +0 -3
  545. data/node_modules/mdn-data/package.json +0 -39
  546. data/node_modules/nano-css/.circleci/config.yml +0 -85
  547. data/node_modules/nano-css/.eslintrc.yml +0 -27
  548. data/node_modules/nano-css/.github/FUNDING.yml +0 -3
  549. data/node_modules/nano-css/.github/workflows/nodejs.yml +0 -23
  550. data/node_modules/nano-css/CHANGELOG.md +0 -362
  551. data/node_modules/nano-css/LICENSE +0 -24
  552. data/node_modules/nano-css/README.md +0 -70
  553. data/node_modules/nano-css/addon/__dev__/warnOnMissingDependencies.js +0 -25
  554. data/node_modules/nano-css/addon/__tests__/__snapshots__/reset.test.js.snap +0 -407
  555. data/node_modules/nano-css/addon/__tests__/__snapshots__/tachyons.test.js.snap +0 -43
  556. data/node_modules/nano-css/addon/__tests__/amp.server.dev.test.js +0 -6
  557. data/node_modules/nano-css/addon/__tests__/amp.server.test.js +0 -223
  558. data/node_modules/nano-css/addon/__tests__/atoms.dev.test.js +0 -5
  559. data/node_modules/nano-css/addon/__tests__/atoms.server.dev.test.js +0 -8
  560. data/node_modules/nano-css/addon/__tests__/atoms.server.test.js +0 -6
  561. data/node_modules/nano-css/addon/__tests__/atoms.test.js +0 -49
  562. data/node_modules/nano-css/addon/__tests__/cssom.server.test.js +0 -12
  563. data/node_modules/nano-css/addon/__tests__/emmet/emmet.dev.test.js +0 -5
  564. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.dev.test.js +0 -8
  565. data/node_modules/nano-css/addon/__tests__/emmet/emmet.server.test.js +0 -6
  566. data/node_modules/nano-css/addon/__tests__/emmet/emmet.test.js +0 -219
  567. data/node_modules/nano-css/addon/__tests__/env.js +0 -6
  568. data/node_modules/nano-css/addon/__tests__/extract.server.test.js +0 -159
  569. data/node_modules/nano-css/addon/__tests__/index.server.dev.test.js +0 -6
  570. data/node_modules/nano-css/addon/__tests__/index.server.test.js +0 -4
  571. data/node_modules/nano-css/addon/__tests__/index.test.js +0 -257
  572. data/node_modules/nano-css/addon/__tests__/jsx.dev.test.js +0 -5
  573. data/node_modules/nano-css/addon/__tests__/jsx.server.dev.test.js +0 -6
  574. data/node_modules/nano-css/addon/__tests__/jsx.server.test.js +0 -4
  575. data/node_modules/nano-css/addon/__tests__/jsx.test.js +0 -33
  576. data/node_modules/nano-css/addon/__tests__/keyframes.dev.test.js +0 -5
  577. data/node_modules/nano-css/addon/__tests__/keyframes.server.dev.test.js +0 -6
  578. data/node_modules/nano-css/addon/__tests__/keyframes.server.test.js +0 -4
  579. data/node_modules/nano-css/addon/__tests__/keyframes.test.js +0 -131
  580. data/node_modules/nano-css/addon/__tests__/limit.server.test.js +0 -54
  581. data/node_modules/nano-css/addon/__tests__/nesting.test.js +0 -85
  582. data/node_modules/nano-css/addon/__tests__/prefixer.test.js +0 -121
  583. data/node_modules/nano-css/addon/__tests__/put.dev.test.js +0 -5
  584. data/node_modules/nano-css/addon/__tests__/put.server.dev.test.js +0 -6
  585. data/node_modules/nano-css/addon/__tests__/put.server.test.js +0 -4
  586. data/node_modules/nano-css/addon/__tests__/put.test.js +0 -75
  587. data/node_modules/nano-css/addon/__tests__/reset.test.js +0 -38
  588. data/node_modules/nano-css/addon/__tests__/rule.dev.test.js +0 -5
  589. data/node_modules/nano-css/addon/__tests__/rule.server.dev.test.js +0 -7
  590. data/node_modules/nano-css/addon/__tests__/rule.server.test.js +0 -5
  591. data/node_modules/nano-css/addon/__tests__/rule.test.js +0 -57
  592. data/node_modules/nano-css/addon/__tests__/setup.js +0 -7
  593. data/node_modules/nano-css/addon/__tests__/sheet.test.js +0 -74
  594. data/node_modules/nano-css/addon/__tests__/snake.test.js +0 -124
  595. data/node_modules/nano-css/addon/__tests__/tachyons.test.js +0 -45
  596. data/node_modules/nano-css/addon/__tests__/units.dev.test.js +0 -5
  597. data/node_modules/nano-css/addon/__tests__/units.server.dev.test.js +0 -6
  598. data/node_modules/nano-css/addon/__tests__/units.server.test.js +0 -4
  599. data/node_modules/nano-css/addon/__tests__/units.test.js +0 -41
  600. data/node_modules/nano-css/addon/__tests__/validate.dev.test.js +0 -5
  601. data/node_modules/nano-css/addon/__tests__/validate.test.js +0 -69
  602. data/node_modules/nano-css/addon/__tests__/vcssom.server.test.js +0 -14
  603. data/node_modules/nano-css/addon/__tests__/virtual.dev.test.js +0 -5
  604. data/node_modules/nano-css/addon/__tests__/virtual.server.dev.test.js +0 -6
  605. data/node_modules/nano-css/addon/__tests__/virtual.server.test.js +0 -4
  606. data/node_modules/nano-css/addon/__tests__/virtual.test.js +0 -225
  607. data/node_modules/nano-css/addon/amp.d.ts +0 -5
  608. data/node_modules/nano-css/addon/amp.js +0 -156
  609. data/node_modules/nano-css/addon/animate/fadeIn.js +0 -22
  610. data/node_modules/nano-css/addon/animate/fadeInDown.js +0 -25
  611. data/node_modules/nano-css/addon/animate/fadeInScale.js +0 -25
  612. data/node_modules/nano-css/addon/animate/fadeOut.js +0 -23
  613. data/node_modules/nano-css/addon/animate/fadeOutScale.js +0 -21
  614. data/node_modules/nano-css/addon/array.d.ts +0 -5
  615. data/node_modules/nano-css/addon/array.js +0 -33
  616. data/node_modules/nano-css/addon/atoms.d.ts +0 -243
  617. data/node_modules/nano-css/addon/atoms.js +0 -63
  618. data/node_modules/nano-css/addon/cache.d.ts +0 -8
  619. data/node_modules/nano-css/addon/cache.js +0 -17
  620. data/node_modules/nano-css/addon/component.d.ts +0 -7
  621. data/node_modules/nano-css/addon/component.js +0 -26
  622. data/node_modules/nano-css/addon/cssom.d.ts +0 -17
  623. data/node_modules/nano-css/addon/cssom.js +0 -36
  624. data/node_modules/nano-css/addon/decorator.d.ts +0 -7
  625. data/node_modules/nano-css/addon/decorator.js +0 -43
  626. data/node_modules/nano-css/addon/drule.d.ts +0 -8
  627. data/node_modules/nano-css/addon/drule.js +0 -27
  628. data/node_modules/nano-css/addon/dsheet.d.ts +0 -8
  629. data/node_modules/nano-css/addon/dsheet.js +0 -36
  630. data/node_modules/nano-css/addon/emmet.d.ts +0 -614
  631. data/node_modules/nano-css/addon/emmet.js +0 -177
  632. data/node_modules/nano-css/addon/extract.d.ts +0 -5
  633. data/node_modules/nano-css/addon/extract.js +0 -59
  634. data/node_modules/nano-css/addon/global.d.ts +0 -8
  635. data/node_modules/nano-css/addon/global.js +0 -19
  636. data/node_modules/nano-css/addon/googleFont.d.ts +0 -8
  637. data/node_modules/nano-css/addon/googleFont.js +0 -43
  638. data/node_modules/nano-css/addon/hydrate.d.ts +0 -7
  639. data/node_modules/nano-css/addon/hydrate.js +0 -28
  640. data/node_modules/nano-css/addon/hyperstyle.js +0 -27
  641. data/node_modules/nano-css/addon/important.js +0 -38
  642. data/node_modules/nano-css/addon/jsx.js +0 -60
  643. data/node_modules/nano-css/addon/keyframes.d.ts +0 -34
  644. data/node_modules/nano-css/addon/keyframes.js +0 -61
  645. data/node_modules/nano-css/addon/limit.js +0 -26
  646. data/node_modules/nano-css/addon/nesting.js +0 -37
  647. data/node_modules/nano-css/addon/pipe.js +0 -57
  648. data/node_modules/nano-css/addon/prefixer.js +0 -79
  649. data/node_modules/nano-css/addon/ref.js +0 -87
  650. data/node_modules/nano-css/addon/reset/EricMeyer.js +0 -48
  651. data/node_modules/nano-css/addon/reset/EricMeyerCondensed.js +0 -44
  652. data/node_modules/nano-css/addon/reset/Minimalistic.js +0 -16
  653. data/node_modules/nano-css/addon/reset/Minimalistic2.js +0 -17
  654. data/node_modules/nano-css/addon/reset/Minimalistic3.js +0 -18
  655. data/node_modules/nano-css/addon/reset/Normalize.js +0 -83
  656. data/node_modules/nano-css/addon/reset/PoorMan.js +0 -25
  657. data/node_modules/nano-css/addon/reset/ShaunInman.js +0 -42
  658. data/node_modules/nano-css/addon/reset/Siolon.js +0 -34
  659. data/node_modules/nano-css/addon/reset/Tantek.js +0 -31
  660. data/node_modules/nano-css/addon/reset/Tripoli.js +0 -75
  661. data/node_modules/nano-css/addon/reset/Universal.js +0 -23
  662. data/node_modules/nano-css/addon/reset/Yahoo.js +0 -43
  663. data/node_modules/nano-css/addon/reset-font.js +0 -24
  664. data/node_modules/nano-css/addon/rtl.js +0 -15
  665. data/node_modules/nano-css/addon/rule.d.ts +0 -26
  666. data/node_modules/nano-css/addon/rule.js +0 -39
  667. data/node_modules/nano-css/addon/sheet.d.ts +0 -22
  668. data/node_modules/nano-css/addon/sheet.js +0 -45
  669. data/node_modules/nano-css/addon/snake.js +0 -141
  670. data/node_modules/nano-css/addon/sourcemaps.js +0 -96
  671. data/node_modules/nano-css/addon/spread.js +0 -23
  672. data/node_modules/nano-css/addon/stable.js +0 -7
  673. data/node_modules/nano-css/addon/style.js +0 -33
  674. data/node_modules/nano-css/addon/styled.js +0 -161
  675. data/node_modules/nano-css/addon/stylis/plugin-onRule.js +0 -43
  676. data/node_modules/nano-css/addon/stylis.js +0 -28
  677. data/node_modules/nano-css/addon/tachyons.js +0 -215
  678. data/node_modules/nano-css/addon/unitless.js +0 -78
  679. data/node_modules/nano-css/addon/units.d.ts +0 -89
  680. data/node_modules/nano-css/addon/units.js +0 -27
  681. data/node_modules/nano-css/addon/useStyles.js +0 -24
  682. data/node_modules/nano-css/addon/util/cloneElement.js +0 -11
  683. data/node_modules/nano-css/addon/util/transformComponentDynamic.js +0 -50
  684. data/node_modules/nano-css/addon/util/transformComponentStatic.js +0 -26
  685. data/node_modules/nano-css/addon/validate.js +0 -82
  686. data/node_modules/nano-css/addon/vcssom/__tests__/cssToTree.test.js +0 -159
  687. data/node_modules/nano-css/addon/vcssom/cssToTree.d.ts +0 -15
  688. data/node_modules/nano-css/addon/vcssom/cssToTree.js +0 -42
  689. data/node_modules/nano-css/addon/vcssom/removeRule.d.ts +0 -3
  690. data/node_modules/nano-css/addon/vcssom/removeRule.js +0 -15
  691. data/node_modules/nano-css/addon/vcssom.d.ts +0 -72
  692. data/node_modules/nano-css/addon/vcssom.js +0 -97
  693. data/node_modules/nano-css/addon/virtual.js +0 -107
  694. data/node_modules/nano-css/addon/withStyles.js +0 -32
  695. data/node_modules/nano-css/index.d.ts +0 -4
  696. data/node_modules/nano-css/index.js +0 -138
  697. data/node_modules/nano-css/package.json +0 -145
  698. data/node_modules/nano-css/preset/react.js +0 -43
  699. data/node_modules/nano-css/preset/sheet.d.ts +0 -5
  700. data/node_modules/nano-css/preset/sheet.js +0 -27
  701. data/node_modules/nano-css/preset/vdom.js +0 -40
  702. data/node_modules/nano-css/prettier.config.js +0 -13
  703. data/node_modules/nano-css/renovate.json +0 -3
  704. data/node_modules/nano-css/types/common.d.ts +0 -14
  705. data/node_modules/nano-css/types/demo.ts +0 -7
  706. data/node_modules/nano-css/types/nano.d.ts +0 -171
  707. data/node_modules/object-assign/index.js +0 -90
  708. data/node_modules/object-assign/license +0 -21
  709. data/node_modules/object-assign/package.json +0 -42
  710. data/node_modules/object-assign/readme.md +0 -61
  711. data/node_modules/preact/compat/LICENSE +0 -21
  712. data/node_modules/preact/debug/LICENSE +0 -21
  713. data/node_modules/preact/devtools/LICENSE +0 -21
  714. data/node_modules/preact/hooks/LICENSE +0 -21
  715. data/node_modules/preact/jsx-runtime/LICENSE +0 -21
  716. data/node_modules/react/LICENSE +0 -21
  717. data/node_modules/react/README.md +0 -13
  718. data/node_modules/react/build-info.json +0 -8
  719. data/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1203
  720. data/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -9
  721. data/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -9
  722. data/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1221
  723. data/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -10
  724. data/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -10
  725. data/node_modules/react/cjs/react.development.js +0 -2333
  726. data/node_modules/react/cjs/react.production.min.js +0 -23
  727. data/node_modules/react/index.js +0 -7
  728. data/node_modules/react/jsx-dev-runtime.js +0 -7
  729. data/node_modules/react/jsx-runtime.js +0 -7
  730. data/node_modules/react/package.json +0 -39
  731. data/node_modules/react/umd/react.development.js +0 -3357
  732. data/node_modules/react/umd/react.production.min.js +0 -31
  733. data/node_modules/react/umd/react.profiling.min.js +0 -36
  734. data/node_modules/react-dom/LICENSE +0 -21
  735. data/node_modules/react-dom/README.md +0 -54
  736. data/node_modules/react-dom/build-info.json +0 -8
  737. data/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -4342
  738. data/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -51
  739. data/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -4383
  740. data/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -52
  741. data/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -2118
  742. data/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -43
  743. data/node_modules/react-dom/cjs/react-dom.development.js +0 -26262
  744. data/node_modules/react-dom/cjs/react-dom.production.min.js +0 -297
  745. data/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -310
  746. data/node_modules/react-dom/index.js +0 -38
  747. data/node_modules/react-dom/package.json +0 -49
  748. data/node_modules/react-dom/profiling.js +0 -38
  749. data/node_modules/react-dom/server.browser.js +0 -7
  750. data/node_modules/react-dom/server.js +0 -3
  751. data/node_modules/react-dom/server.node.js +0 -7
  752. data/node_modules/react-dom/test-utils.js +0 -7
  753. data/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -4341
  754. data/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -46
  755. data/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -2136
  756. data/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -35
  757. data/node_modules/react-dom/umd/react-dom.development.js +0 -26292
  758. data/node_modules/react-dom/umd/react-dom.production.min.js +0 -245
  759. data/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -252
  760. data/node_modules/regenerator-runtime/LICENSE +0 -21
  761. data/node_modules/regenerator-runtime/README.md +0 -31
  762. data/node_modules/regenerator-runtime/package.json +0 -19
  763. data/node_modules/regenerator-runtime/path.js +0 -11
  764. data/node_modules/regenerator-runtime/runtime.js +0 -754
  765. data/node_modules/rtl-css-js/CHANGELOG.md +0 -5
  766. data/node_modules/rtl-css-js/LICENSE +0 -20
  767. data/node_modules/rtl-css-js/README.md +0 -205
  768. data/node_modules/rtl-css-js/core/package.json +0 -6
  769. data/node_modules/rtl-css-js/core.d.ts +0 -163
  770. data/node_modules/rtl-css-js/core.esm.d.ts +0 -1
  771. data/node_modules/rtl-css-js/core.esm.js +0 -9
  772. data/node_modules/rtl-css-js/dist/cjs/convert-a10c80e3.js +0 -509
  773. data/node_modules/rtl-css-js/dist/cjs/core.js +0 -30
  774. data/node_modules/rtl-css-js/dist/cjs/index.js +0 -7
  775. data/node_modules/rtl-css-js/dist/esm/convert-09159978.js +0 -487
  776. data/node_modules/rtl-css-js/dist/esm/core.js +0 -1
  777. data/node_modules/rtl-css-js/dist/esm/index.js +0 -5
  778. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js +0 -519
  779. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.js.map +0 -1
  780. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js +0 -2
  781. data/node_modules/rtl-css-js/dist/rtl-css-js.core.umd.min.js.map +0 -1
  782. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js +0 -496
  783. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.js.map +0 -1
  784. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js +0 -2
  785. data/node_modules/rtl-css-js/dist/rtl-css-js.umd.min.js.map +0 -1
  786. data/node_modules/rtl-css-js/package.json +0 -66
  787. data/node_modules/rtl-css-js/types.d.ts +0 -8
  788. data/node_modules/scheduler/LICENSE +0 -21
  789. data/node_modules/scheduler/README.md +0 -9
  790. data/node_modules/scheduler/build-info.json +0 -8
  791. data/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
  792. data/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
  793. data/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
  794. data/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
  795. data/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
  796. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
  797. data/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
  798. data/node_modules/scheduler/cjs/scheduler.development.js +0 -646
  799. data/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
  800. data/node_modules/scheduler/index.js +0 -7
  801. data/node_modules/scheduler/package.json +0 -40
  802. data/node_modules/scheduler/tracing-profiling.js +0 -7
  803. data/node_modules/scheduler/tracing.js +0 -7
  804. data/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
  805. data/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
  806. data/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
  807. data/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
  808. data/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
  809. data/node_modules/scheduler/umd/scheduler.development.js +0 -152
  810. data/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
  811. data/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
  812. data/node_modules/scheduler/unstable_mock.js +0 -7
  813. data/node_modules/scheduler/unstable_post_task.js +0 -7
  814. data/node_modules/source-map/CHANGELOG.md +0 -301
  815. data/node_modules/source-map/LICENSE +0 -28
  816. data/node_modules/source-map/README.md +0 -742
  817. data/node_modules/source-map/dist/source-map.debug.js +0 -3234
  818. data/node_modules/source-map/dist/source-map.js +0 -3233
  819. data/node_modules/source-map/dist/source-map.min.js +0 -2
  820. data/node_modules/source-map/dist/source-map.min.js.map +0 -1
  821. data/node_modules/source-map/lib/array-set.js +0 -121
  822. data/node_modules/source-map/lib/base64-vlq.js +0 -140
  823. data/node_modules/source-map/lib/base64.js +0 -67
  824. data/node_modules/source-map/lib/binary-search.js +0 -111
  825. data/node_modules/source-map/lib/mapping-list.js +0 -79
  826. data/node_modules/source-map/lib/quick-sort.js +0 -114
  827. data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  828. data/node_modules/source-map/lib/source-map-generator.js +0 -425
  829. data/node_modules/source-map/lib/source-node.js +0 -413
  830. data/node_modules/source-map/lib/util.js +0 -488
  831. data/node_modules/source-map/package.json +0 -73
  832. data/node_modules/source-map/source-map.d.ts +0 -98
  833. data/node_modules/source-map/source-map.js +0 -8
  834. data/node_modules/sourcemap-codec/CHANGELOG.md +0 -64
  835. data/node_modules/sourcemap-codec/LICENSE +0 -21
  836. data/node_modules/sourcemap-codec/README.md +0 -63
  837. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +0 -124
  838. data/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +0 -1
  839. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -135
  840. data/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  841. data/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -5
  842. data/node_modules/sourcemap-codec/package.json +0 -53
  843. data/node_modules/stack-generator/.eslintrc.yml +0 -32
  844. data/node_modules/stack-generator/CHANGELOG.md +0 -18
  845. data/node_modules/stack-generator/CONTRIBUTING.md +0 -27
  846. data/node_modules/stack-generator/LICENSE +0 -19
  847. data/node_modules/stack-generator/README.md +0 -28
  848. data/node_modules/stack-generator/bower.json +0 -33
  849. data/node_modules/stack-generator/component.json +0 -17
  850. data/node_modules/stack-generator/dist/stack-generator.js +0 -45
  851. data/node_modules/stack-generator/dist/stack-generator.min.js +0 -2
  852. data/node_modules/stack-generator/dist/stack-generator.min.js.map +0 -1
  853. data/node_modules/stack-generator/karma.conf.ci.js +0 -108
  854. data/node_modules/stack-generator/karma.conf.js +0 -26
  855. data/node_modules/stack-generator/package.json +0 -53
  856. data/node_modules/stack-generator/stack-generator.js +0 -45
  857. data/node_modules/stackframe/.eslintrc.yml +0 -29
  858. data/node_modules/stackframe/CHANGELOG.md +0 -39
  859. data/node_modules/stackframe/CONTRIBUTING.md +0 -28
  860. data/node_modules/stackframe/LICENSE +0 -19
  861. data/node_modules/stackframe/README.md +0 -78
  862. data/node_modules/stackframe/bower.json +0 -31
  863. data/node_modules/stackframe/component.json +0 -16
  864. data/node_modules/stackframe/dist/stackframe.js +0 -143
  865. data/node_modules/stackframe/dist/stackframe.min.js +0 -2
  866. data/node_modules/stackframe/dist/stackframe.min.js.map +0 -1
  867. data/node_modules/stackframe/karma.conf.ci.js +0 -105
  868. data/node_modules/stackframe/karma.conf.js +0 -23
  869. data/node_modules/stackframe/package.json +0 -51
  870. data/node_modules/stackframe/stackframe-tests.ts +0 -47
  871. data/node_modules/stackframe/stackframe.d.ts +0 -74
  872. data/node_modules/stackframe/stackframe.js +0 -143
  873. data/node_modules/stacktrace-gps/CHANGELOG.md +0 -60
  874. data/node_modules/stacktrace-gps/LICENSE +0 -19
  875. data/node_modules/stacktrace-gps/README.md +0 -89
  876. data/node_modules/stacktrace-gps/dist/polyfills.js +0 -5
  877. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js +0 -2
  878. data/node_modules/stacktrace-gps/dist/stacktrace-gps-with-polyfills.min.js.map +0 -1
  879. data/node_modules/stacktrace-gps/dist/stacktrace-gps.js +0 -342
  880. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js +0 -2
  881. data/node_modules/stacktrace-gps/dist/stacktrace-gps.min.js.map +0 -1
  882. data/node_modules/stacktrace-gps/node_modules/source-map/CHANGELOG.md +0 -301
  883. data/node_modules/stacktrace-gps/node_modules/source-map/LICENSE +0 -28
  884. data/node_modules/stacktrace-gps/node_modules/source-map/README.md +0 -729
  885. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.debug.js +0 -3056
  886. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.js +0 -3055
  887. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js +0 -2
  888. data/node_modules/stacktrace-gps/node_modules/source-map/dist/source-map.min.js.map +0 -1
  889. data/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js +0 -104
  890. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js +0 -140
  891. data/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js +0 -67
  892. data/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js +0 -111
  893. data/node_modules/stacktrace-gps/node_modules/source-map/lib/mapping-list.js +0 -79
  894. data/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js +0 -114
  895. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js +0 -1082
  896. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-generator.js +0 -404
  897. data/node_modules/stacktrace-gps/node_modules/source-map/lib/source-node.js +0 -407
  898. data/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js +0 -417
  899. data/node_modules/stacktrace-gps/node_modules/source-map/package.json +0 -71
  900. data/node_modules/stacktrace-gps/node_modules/source-map/source-map.js +0 -8
  901. data/node_modules/stacktrace-gps/package.json +0 -66
  902. data/node_modules/stacktrace-gps/stacktrace-gps.js +0 -342
  903. data/node_modules/stacktrace-js/CHANGELOG.md +0 -97
  904. data/node_modules/stacktrace-js/LICENSE +0 -19
  905. data/node_modules/stacktrace-js/README.md +0 -186
  906. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.js +0 -5405
  907. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js +0 -3
  908. data/node_modules/stacktrace-js/dist/stacktrace-with-promises-and-json-polyfills.min.js.map +0 -1
  909. data/node_modules/stacktrace-js/dist/stacktrace.js +0 -3025
  910. data/node_modules/stacktrace-js/dist/stacktrace.min.js +0 -2
  911. data/node_modules/stacktrace-js/dist/stacktrace.min.js.map +0 -1
  912. data/node_modules/stacktrace-js/package.json +0 -82
  913. data/node_modules/stacktrace-js/stacktrace-js.d.ts +0 -134
  914. data/node_modules/stacktrace-js/stacktrace.js +0 -227
  915. data/node_modules/stylis/LICENSE +0 -21
  916. data/node_modules/stylis/README.md +0 -152
  917. data/node_modules/stylis/dist/stylis.mjs +0 -2
  918. data/node_modules/stylis/dist/stylis.mjs.map +0 -1
  919. data/node_modules/stylis/dist/umd/package.json +0 -1
  920. data/node_modules/stylis/dist/umd/stylis.js +0 -2
  921. data/node_modules/stylis/dist/umd/stylis.js.map +0 -1
  922. data/node_modules/stylis/index.js +0 -7
  923. data/node_modules/stylis/package.json +0 -164
  924. data/node_modules/stylis/src/Enum.js +0 -20
  925. data/node_modules/stylis/src/Middleware.js +0 -107
  926. data/node_modules/stylis/src/Parser.js +0 -184
  927. data/node_modules/stylis/src/Prefixer.js +0 -119
  928. data/node_modules/stylis/src/Serializer.js +0 -34
  929. data/node_modules/stylis/src/Tokenizer.js +0 -244
  930. data/node_modules/stylis/src/Utility.js +0 -109
@@ -1 +1 @@
1
- {"version":3,"file":"debug.module.js","sources":["../src/check-props.js","../src/component-stack.js","../src/debug.js","../src/constants.js","../src/util.js"],"sourcesContent":["const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nlet loggedTypeFailures = {};\n\n/**\n * Reset the history of which prop type warnings have been logged.\n */\nexport function resetPropWarnings() {\n\tloggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * Adapted from https://github.com/facebook/prop-types/blob/master/checkPropTypes.js\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n */\nexport function checkPropTypes(\n\ttypeSpecs,\n\tvalues,\n\tlocation,\n\tcomponentName,\n\tgetStack\n) {\n\tObject.keys(typeSpecs).forEach(typeSpecName => {\n\t\tlet error;\n\t\ttry {\n\t\t\terror = typeSpecs[typeSpecName](\n\t\t\t\tvalues,\n\t\t\t\ttypeSpecName,\n\t\t\t\tcomponentName,\n\t\t\t\tlocation,\n\t\t\t\tnull,\n\t\t\t\tReactPropTypesSecret\n\t\t\t);\n\t\t} catch (e) {\n\t\t\terror = e;\n\t\t}\n\t\tif (error && !(error.message in loggedTypeFailures)) {\n\t\t\tloggedTypeFailures[error.message] = true;\n\t\t\tconsole.error(\n\t\t\t\t`Failed ${location} type: ${error.message}${(getStack &&\n\t\t\t\t\t`\\n${getStack()}`) ||\n\t\t\t\t\t''}`\n\t\t\t);\n\t\t}\n\t});\n}\n","import { options, Fragment } from 'preact';\n\n/**\n * Get human readable name of the component/dom node\n * @param {import('./internal').VNode} vnode\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getDisplayName(vnode) {\n\tif (vnode.type === Fragment) {\n\t\treturn 'Fragment';\n\t} else if (typeof vnode.type == 'function') {\n\t\treturn vnode.type.displayName || vnode.type.name;\n\t} else if (typeof vnode.type == 'string') {\n\t\treturn vnode.type;\n\t}\n\n\treturn '#text';\n}\n\n/**\n * Used to keep track of the currently rendered `vnode` and print it\n * in debug messages.\n */\nlet renderStack = [];\n\n/**\n * Keep track of the current owners. An owner describes a component\n * which was responsible to render a specific `vnode`. This exclude\n * children that are passed via `props.children`, because they belong\n * to the parent owner.\n *\n * ```jsx\n * const Foo = props => <div>{props.children}</div> // div's owner is Foo\n * const Bar = props => {\n * return (\n * <Foo><span /></Foo> // Foo's owner is Bar, span's owner is Bar\n * )\n * }\n * ```\n *\n * Note: A `vnode` may be hoisted to the root scope due to compiler\n * optimiztions. In these cases the `_owner` will be different.\n */\nlet ownerStack = [];\n\n/**\n * Get the currently rendered `vnode`\n * @returns {import('./internal').VNode | null}\n */\nexport function getCurrentVNode() {\n\treturn renderStack.length > 0 ? renderStack[renderStack.length - 1] : null;\n}\n\n/**\n * If the user doesn't have `@babel/plugin-transform-react-jsx-source`\n * somewhere in his tool chain we can't print the filename and source\n * location of a component. In that case we just omit that, but we'll\n * print a helpful message to the console, notifying the user of it.\n */\nlet hasBabelPlugin = false;\n\n/**\n * Check if a `vnode` is a possible owner.\n * @param {import('./internal').VNode} vnode\n */\nfunction isPossibleOwner(vnode) {\n\treturn typeof vnode.type == 'function' && vnode.type != Fragment;\n}\n\n/**\n * Return the component stack that was captured up to this point.\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getOwnerStack(vnode) {\n\tconst stack = [vnode];\n\tlet next = vnode;\n\twhile (next._owner != null) {\n\t\tstack.push(next._owner);\n\t\tnext = next._owner;\n\t}\n\n\treturn stack.reduce((acc, owner) => {\n\t\tacc += ` in ${getDisplayName(owner)}`;\n\n\t\tconst source = owner.__source;\n\t\tif (source) {\n\t\t\tacc += ` (at ${source.fileName}:${source.lineNumber})`;\n\t\t} else if (!hasBabelPlugin) {\n\t\t\thasBabelPlugin = true;\n\t\t\tconsole.warn(\n\t\t\t\t'Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.'\n\t\t\t);\n\t\t}\n\n\t\treturn (acc += '\\n');\n\t}, '');\n}\n\n/**\n * Setup code to capture the component trace while rendering. Note that\n * we cannot simply traverse `vnode._parent` upwards, because we have some\n * debug messages for `this.setState` where the `vnode` is `undefined`.\n */\nexport function setupComponentStack() {\n\tlet oldDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldRoot = options._root;\n\tlet oldVNode = options.vnode;\n\tlet oldRender = options._render;\n\n\toptions.diffed = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.pop();\n\t\t}\n\t\trenderStack.pop();\n\t\tif (oldDiffed) oldDiffed(vnode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\trenderStack.push(vnode);\n\t\t}\n\t\tif (oldDiff) oldDiff(vnode);\n\t};\n\n\toptions._root = (vnode, parent) => {\n\t\townerStack = [];\n\t\tif (oldRoot) oldRoot(vnode, parent);\n\t};\n\n\toptions.vnode = vnode => {\n\t\tvnode._owner =\n\t\t\townerStack.length > 0 ? ownerStack[ownerStack.length - 1] : null;\n\t\tif (oldVNode) oldVNode(vnode);\n\t};\n\n\toptions._render = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.push(vnode);\n\t\t}\n\n\t\tif (oldRender) oldRender(vnode);\n\t};\n}\n","import { checkPropTypes } from './check-props';\nimport { options, Component } from 'preact';\nimport {\n\tELEMENT_NODE,\n\tDOCUMENT_NODE,\n\tDOCUMENT_FRAGMENT_NODE\n} from './constants';\nimport {\n\tgetOwnerStack,\n\tsetupComponentStack,\n\tgetCurrentVNode,\n\tgetDisplayName\n} from './component-stack';\nimport { assign } from './util';\n\nconst isWeakMapSupported = typeof WeakMap == 'function';\n\nfunction getClosestDomNodeParent(parent) {\n\tif (!parent) return {};\n\tif (typeof parent.type == 'function') {\n\t\treturn getClosestDomNodeParent(parent._parent);\n\t}\n\treturn parent;\n}\n\nexport function initDebug() {\n\tsetupComponentStack();\n\n\tlet hooksAllowed = false;\n\n\t/* eslint-disable no-console */\n\tlet oldBeforeDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldVnode = options.vnode;\n\tlet oldCatchError = options._catchError;\n\tlet oldRoot = options._root;\n\tlet oldHook = options._hook;\n\tconst warnedComponents = !isWeakMapSupported\n\t\t? null\n\t\t: {\n\t\t\t\tuseEffect: new WeakMap(),\n\t\t\t\tuseLayoutEffect: new WeakMap(),\n\t\t\t\tlazyPropTypes: new WeakMap()\n\t\t };\n\tconst deprecations = [];\n\n\toptions._catchError = (error, vnode, oldVNode) => {\n\t\tlet component = vnode && vnode._component;\n\t\tif (component && typeof error.then == 'function') {\n\t\t\tconst promise = error;\n\t\t\terror = new Error(\n\t\t\t\t`Missing Suspense. The throwing component was: ${getDisplayName(vnode)}`\n\t\t\t);\n\n\t\t\tlet parent = vnode;\n\t\t\tfor (; parent; parent = parent._parent) {\n\t\t\t\tif (parent._component && parent._component._childDidSuspend) {\n\t\t\t\t\terror = promise;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// We haven't recovered and we know at this point that there is no\n\t\t\t// Suspense component higher up in the tree\n\t\t\tif (error instanceof Error) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\toldCatchError(error, vnode, oldVNode);\n\n\t\t\t// when an error was handled by an ErrorBoundary we will nontheless emit an error\n\t\t\t// event on the window object. This is to make up for react compatibility in dev mode\n\t\t\t// and thus make the Next.js dev overlay work.\n\t\t\tif (typeof error.then != 'function') {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthrow error;\n\t\t\t\t});\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tthrow e;\n\t\t}\n\t};\n\n\toptions._root = (vnode, parentNode) => {\n\t\tif (!parentNode) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined parent passed to render(), this is the second argument.\\n' +\n\t\t\t\t\t'Check if the element is available in the DOM/has the correct id.'\n\t\t\t);\n\t\t}\n\n\t\tlet isValid;\n\t\tswitch (parentNode.nodeType) {\n\t\t\tcase ELEMENT_NODE:\n\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\tcase DOCUMENT_NODE:\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!isValid) {\n\t\t\tlet componentName = getDisplayName(vnode);\n\t\t\tthrow new Error(\n\t\t\t\t`Expected a valid HTML node as a second argument to render.\tReceived ${parentNode} instead: render(<${componentName} />, ${parentNode});`\n\t\t\t);\n\t\t}\n\n\t\tif (oldRoot) oldRoot(vnode, parentNode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tlet { type, _parent: parent } = vnode;\n\t\tlet parentVNode = getClosestDomNodeParent(parent);\n\n\t\thooksAllowed = true;\n\n\t\tif (type === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined component passed to createElement()\\n\\n' +\n\t\t\t\t\t'You likely forgot to export your component or might have mixed up default and named imports' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type != null && typeof type == 'object') {\n\t\t\tif (type._children !== undefined && type._dom !== undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Invalid type passed to createElement(): ${type}\\n\\n` +\n\t\t\t\t\t\t'Did you accidentally pass a JSX literal as JSX twice?\\n\\n' +\n\t\t\t\t\t\t` let My${getDisplayName(vnode)} = ${serializeVNode(type)};\\n` +\n\t\t\t\t\t\t` let vnode = <My${getDisplayName(vnode)} />;\\n\\n` +\n\t\t\t\t\t\t'This usually happens when you export a JSX literal and not the component.' +\n\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthrow new Error(\n\t\t\t\t'Invalid type passed to createElement(): ' +\n\t\t\t\t\t(Array.isArray(type) ? 'array' : type)\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(type === 'thead' || type === 'tfoot' || type === 'tbody') &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (\n\t\t\ttype === 'tr' &&\n\t\t\tparentVNode.type !== 'thead' &&\n\t\t\tparentVNode.type !== 'tfoot' &&\n\t\t\tparentVNode.type !== 'tbody' &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot/table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'td' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <td> should have a <tr> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'th' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <th> should have a <tr>.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\tvnode.ref !== undefined &&\n\t\t\ttypeof vnode.ref != 'function' &&\n\t\t\ttypeof vnode.ref != 'object' &&\n\t\t\t!('$$typeof' in vnode) // allow string refs when preact-compat is installed\n\t\t) {\n\t\t\tthrow new Error(\n\t\t\t\t`Component's \"ref\" property should be a function, or an object created ` +\n\t\t\t\t\t`by createRef(), but got [${typeof vnode.ref}] instead\\n` +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (typeof vnode.type == 'string') {\n\t\t\tfor (const key in vnode.props) {\n\t\t\t\tif (\n\t\t\t\t\tkey[0] === 'o' &&\n\t\t\t\t\tkey[1] === 'n' &&\n\t\t\t\t\ttypeof vnode.props[key] != 'function' &&\n\t\t\t\t\tvnode.props[key] != null\n\t\t\t\t) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Component's \"${key}\" property should be a function, ` +\n\t\t\t\t\t\t\t`but got [${typeof vnode.props[key]}] instead\\n` +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check prop-types if available\n\t\tif (typeof vnode.type == 'function' && vnode.type.propTypes) {\n\t\t\tif (\n\t\t\t\tvnode.type.displayName === 'Lazy' &&\n\t\t\t\twarnedComponents &&\n\t\t\t\t!warnedComponents.lazyPropTypes.has(vnode.type)\n\t\t\t) {\n\t\t\t\tconst m =\n\t\t\t\t\t'PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ';\n\t\t\t\ttry {\n\t\t\t\t\tconst lazyVNode = vnode.type();\n\t\t\t\t\twarnedComponents.lazyPropTypes.set(vnode.type, true);\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + `Component wrapped in lazy() is ${getDisplayName(lazyVNode)}`\n\t\t\t\t\t);\n\t\t\t\t} catch (promise) {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + \"We will log the wrapped component's name once it is loaded.\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet values = vnode.props;\n\t\t\tif (vnode.type._forwarded) {\n\t\t\t\tvalues = assign({}, values);\n\t\t\t\tdelete values.ref;\n\t\t\t}\n\n\t\t\tcheckPropTypes(\n\t\t\t\tvnode.type.propTypes,\n\t\t\t\tvalues,\n\t\t\t\t'prop',\n\t\t\t\tgetDisplayName(vnode),\n\t\t\t\t() => getOwnerStack(vnode)\n\t\t\t);\n\t\t}\n\n\t\tif (oldBeforeDiff) oldBeforeDiff(vnode);\n\t};\n\n\toptions._hook = (comp, index, type) => {\n\t\tif (!comp || !hooksAllowed) {\n\t\t\tthrow new Error('Hook can only be invoked from render methods.');\n\t\t}\n\n\t\tif (oldHook) oldHook(comp, index, type);\n\t};\n\n\t// Ideally we'd want to print a warning once per component, but we\n\t// don't have access to the vnode that triggered it here. As a\n\t// compromise and to avoid flooding the console with warnings we\n\t// print each deprecation warning only once.\n\tconst warn = (property, message) => ({\n\t\tget() {\n\t\t\tconst key = 'get' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`getting vnode.${property} is deprecated, ${message}`);\n\t\t\t}\n\t\t},\n\t\tset() {\n\t\t\tconst key = 'set' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`setting vnode.${property} is not allowed, ${message}`);\n\t\t\t}\n\t\t}\n\t});\n\n\tconst deprecatedAttributes = {\n\t\tnodeName: warn('nodeName', 'use vnode.type'),\n\t\tattributes: warn('attributes', 'use vnode.props'),\n\t\tchildren: warn('children', 'use vnode.props.children')\n\t};\n\n\tconst deprecatedProto = Object.create({}, deprecatedAttributes);\n\n\toptions.vnode = vnode => {\n\t\tconst props = vnode.props;\n\t\tif (\n\t\t\tvnode.type !== null &&\n\t\t\tprops != null &&\n\t\t\t('__source' in props || '__self' in props)\n\t\t) {\n\t\t\tconst newProps = (vnode.props = {});\n\t\t\tfor (let i in props) {\n\t\t\t\tconst v = props[i];\n\t\t\t\tif (i === '__source') vnode.__source = v;\n\t\t\t\telse if (i === '__self') vnode.__self = v;\n\t\t\t\telse newProps[i] = v;\n\t\t\t}\n\t\t}\n\n\t\t// eslint-disable-next-line\n\t\tvnode.__proto__ = deprecatedProto;\n\t\tif (oldVnode) oldVnode(vnode);\n\t};\n\n\toptions.diffed = vnode => {\n\t\t// Check if the user passed plain objects as children. Note that we cannot\n\t\t// move this check into `options.vnode` because components can receive\n\t\t// children in any shape they want (e.g.\n\t\t// `<MyJSONFormatter>{{ foo: 123, bar: \"abc\" }}</MyJSONFormatter>`).\n\t\t// Putting this check in `options.diffed` ensures that\n\t\t// `vnode._children` is set and that we only validate the children\n\t\t// that were actually rendered.\n\t\tif (vnode._children) {\n\t\t\tvnode._children.forEach(child => {\n\t\t\t\tif (child && child.type === undefined) {\n\t\t\t\t\t// Remove internal vnode keys that will always be patched\n\t\t\t\t\tdelete child._parent;\n\t\t\t\t\tdelete child._depth;\n\t\t\t\t\tconst keys = Object.keys(child).join(',');\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Objects are not valid as a child. Encountered an object with the keys {${keys}}.` +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\thooksAllowed = false;\n\n\t\tif (oldDiffed) oldDiffed(vnode);\n\n\t\tif (vnode._children != null) {\n\t\t\tconst keys = [];\n\t\t\tfor (let i = 0; i < vnode._children.length; i++) {\n\t\t\t\tconst child = vnode._children[i];\n\t\t\t\tif (!child || child.key == null) continue;\n\n\t\t\t\tconst key = child.key;\n\t\t\t\tif (keys.indexOf(key) !== -1) {\n\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t'Following component has two or more children with the ' +\n\t\t\t\t\t\t\t`same key attribute: \"${key}\". This may cause glitches and misbehavior ` +\n\t\t\t\t\t\t\t'in rendering process. Component: \\n\\n' +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\n\t\t\t\t\t// Break early to not spam the console\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tkeys.push(key);\n\t\t\t}\n\t\t}\n\t};\n}\n\nconst setState = Component.prototype.setState;\nComponent.prototype.setState = function(update, callback) {\n\tif (this._vnode == null) {\n\t\t// `this._vnode` will be `null` during componentWillMount. But it\n\t\t// is perfectly valid to call `setState` during cWM. So we\n\t\t// need an additional check to verify that we are dealing with a\n\t\t// call inside constructor.\n\t\tif (this.state == null) {\n\t\t\tconsole.warn(\n\t\t\t\t`Calling \"this.setState\" inside the constructor of a component is a ` +\n\t\t\t\t\t`no-op and might be a bug in your application. Instead, set ` +\n\t\t\t\t\t`\"this.state = {}\" directly.\\n\\n${getOwnerStack(getCurrentVNode())}`\n\t\t\t);\n\t\t}\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.setState\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\n\treturn setState.call(this, update, callback);\n};\n\nconst forceUpdate = Component.prototype.forceUpdate;\nComponent.prototype.forceUpdate = function(callback) {\n\tif (this._vnode == null) {\n\t\tconsole.warn(\n\t\t\t`Calling \"this.forceUpdate\" inside the constructor of a component is a ` +\n\t\t\t\t`no-op and might be a bug in your application.\\n\\n${getOwnerStack(\n\t\t\t\t\tgetCurrentVNode()\n\t\t\t\t)}`\n\t\t);\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.forceUpdate\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\treturn forceUpdate.call(this, callback);\n};\n\n/**\n * Serialize a vnode tree to a string\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function serializeVNode(vnode) {\n\tlet { props } = vnode;\n\tlet name = getDisplayName(vnode);\n\n\tlet attrs = '';\n\tfor (let prop in props) {\n\t\tif (props.hasOwnProperty(prop) && prop !== 'children') {\n\t\t\tlet value = props[prop];\n\n\t\t\t// If it is an object but doesn't have toString(), use Object.toString\n\t\t\tif (typeof value == 'function') {\n\t\t\t\tvalue = `function ${value.displayName || value.name}() {}`;\n\t\t\t}\n\n\t\t\tvalue =\n\t\t\t\tObject(value) === value && !value.toString\n\t\t\t\t\t? Object.prototype.toString.call(value)\n\t\t\t\t\t: value + '';\n\n\t\t\tattrs += ` ${prop}=${JSON.stringify(value)}`;\n\t\t}\n\t}\n\n\tlet children = props.children;\n\treturn `<${name}${attrs}${\n\t\tchildren && children.length ? '>..</' + name + '>' : ' />'\n\t}`;\n}\n","export const ELEMENT_NODE = 1;\nexport const DOCUMENT_NODE = 9;\nexport const DOCUMENT_FRAGMENT_NODE = 11;\n","/**\n * Assign properties from `props` to `obj`\n * @template O, P The obj and props types\n * @param {O} obj The object to copy properties to\n * @param {P} props The object to copy properties from\n * @returns {O & P}\n */\nexport function assign(obj, props) {\n\tfor (let i in props) obj[i] = props[i];\n\treturn /** @type {O & P} */ (obj);\n}\n"],"names":["loggedTypeFailures","resetPropWarnings","getDisplayName","vnode","type","Fragment","displayName","name","renderStack","ownerStack","getCurrentVNode","length","hasBabelPlugin","isPossibleOwner","getOwnerStack","stack","next","push","reduce","acc","owner","source","__source","fileName","lineNumber","console","warn","isWeakMapSupported","WeakMap","setState","Component","prototype","update","callback","this","state","call","forceUpdate","serializeVNode","props","attrs","prop","hasOwnProperty","value","Object","toString","JSON","stringify","children","oldDiff","options","oldDiffed","diffed","oldRoot","oldVNode","oldRender","pop","parent","setupComponentStack","hooksAllowed","oldBeforeDiff","oldVnode","oldCatchError","oldHook","warnedComponents","useEffect","useLayoutEffect","lazyPropTypes","deprecations","error","then","promise","Error","setTimeout","e","parentNode","isValid","nodeType","componentName","parentVNode","getClosestDomNodeParent","undefined","Array","isArray","ref","key","propTypes","has","m","lazyVNode","set","values","obj","i","assign","typeSpecs","location","getStack","keys","forEach","typeSpecName","message","checkPropTypes","comp","index","property","get","indexOf","deprecatedAttributes","nodeName","attributes","deprecatedProto","create","newProps","v","__self","__proto__","child","join"],"mappings":"sFAAA,IAEIA,EAAqB,GAKzB,SAAgBC,IACfD,EAAqB,GCAf,SAASE,EAAeC,UAC1BA,EAAMC,OAASC,EACX,WACwB,mBAAdF,EAAMC,KAChBD,EAAMC,KAAKE,aAAeH,EAAMC,KAAKG,KACb,iBAAdJ,EAAMC,KAChBD,EAAMC,KAGP,QAOR,IAAII,EAAc,GAoBdC,EAAa,GAMjB,SAAgBC,WACRF,EAAYG,OAAS,EAAIH,EAAYA,EAAYG,OAAS,GAAK,KASvE,IAAIC,GAAiB,EAMrB,SAASC,EAAgBV,SACI,mBAAdA,EAAMC,MAAsBD,EAAMC,MAAQC,EAQlD,SAASS,EAAcX,WAC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RW,EAAcX,UAOxB+F,EAAKjF,KAAKoE"}
1
+ {"version":3,"file":"debug.module.js","sources":["../src/check-props.js","../src/component-stack.js","../src/debug.js","../src/constants.js","../src/util.js"],"sourcesContent":["const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nlet loggedTypeFailures = {};\n\n/**\n * Reset the history of which prop type warnings have been logged.\n */\nexport function resetPropWarnings() {\n\tloggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * Adapted from https://github.com/facebook/prop-types/blob/master/checkPropTypes.js\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n */\nexport function checkPropTypes(\n\ttypeSpecs,\n\tvalues,\n\tlocation,\n\tcomponentName,\n\tgetStack\n) {\n\tObject.keys(typeSpecs).forEach(typeSpecName => {\n\t\tlet error;\n\t\ttry {\n\t\t\terror = typeSpecs[typeSpecName](\n\t\t\t\tvalues,\n\t\t\t\ttypeSpecName,\n\t\t\t\tcomponentName,\n\t\t\t\tlocation,\n\t\t\t\tnull,\n\t\t\t\tReactPropTypesSecret\n\t\t\t);\n\t\t} catch (e) {\n\t\t\terror = e;\n\t\t}\n\t\tif (error && !(error.message in loggedTypeFailures)) {\n\t\t\tloggedTypeFailures[error.message] = true;\n\t\t\tconsole.error(\n\t\t\t\t`Failed ${location} type: ${error.message}${(getStack &&\n\t\t\t\t\t`\\n${getStack()}`) ||\n\t\t\t\t\t''}`\n\t\t\t);\n\t\t}\n\t});\n}\n","import { options, Fragment } from 'preact';\n\n/**\n * Get human readable name of the component/dom node\n * @param {import('./internal').VNode} vnode\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getDisplayName(vnode) {\n\tif (vnode.type === Fragment) {\n\t\treturn 'Fragment';\n\t} else if (typeof vnode.type == 'function') {\n\t\treturn vnode.type.displayName || vnode.type.name;\n\t} else if (typeof vnode.type == 'string') {\n\t\treturn vnode.type;\n\t}\n\n\treturn '#text';\n}\n\n/**\n * Used to keep track of the currently rendered `vnode` and print it\n * in debug messages.\n */\nlet renderStack = [];\n\n/**\n * Keep track of the current owners. An owner describes a component\n * which was responsible to render a specific `vnode`. This exclude\n * children that are passed via `props.children`, because they belong\n * to the parent owner.\n *\n * ```jsx\n * const Foo = props => <div>{props.children}</div> // div's owner is Foo\n * const Bar = props => {\n * return (\n * <Foo><span /></Foo> // Foo's owner is Bar, span's owner is Bar\n * )\n * }\n * ```\n *\n * Note: A `vnode` may be hoisted to the root scope due to compiler\n * optimiztions. In these cases the `_owner` will be different.\n */\nlet ownerStack = [];\n\n/**\n * Get the currently rendered `vnode`\n * @returns {import('./internal').VNode | null}\n */\nexport function getCurrentVNode() {\n\treturn renderStack.length > 0 ? renderStack[renderStack.length - 1] : null;\n}\n\n/**\n * If the user doesn't have `@babel/plugin-transform-react-jsx-source`\n * somewhere in his tool chain we can't print the filename and source\n * location of a component. In that case we just omit that, but we'll\n * print a helpful message to the console, notifying the user of it.\n */\nlet hasBabelPlugin = false;\n\n/**\n * Check if a `vnode` is a possible owner.\n * @param {import('./internal').VNode} vnode\n */\nfunction isPossibleOwner(vnode) {\n\treturn typeof vnode.type == 'function' && vnode.type != Fragment;\n}\n\n/**\n * Return the component stack that was captured up to this point.\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getOwnerStack(vnode) {\n\tconst stack = [vnode];\n\tlet next = vnode;\n\twhile (next._owner != null) {\n\t\tstack.push(next._owner);\n\t\tnext = next._owner;\n\t}\n\n\treturn stack.reduce((acc, owner) => {\n\t\tacc += ` in ${getDisplayName(owner)}`;\n\n\t\tconst source = owner.__source;\n\t\tif (source) {\n\t\t\tacc += ` (at ${source.fileName}:${source.lineNumber})`;\n\t\t} else if (!hasBabelPlugin) {\n\t\t\thasBabelPlugin = true;\n\t\t\tconsole.warn(\n\t\t\t\t'Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.'\n\t\t\t);\n\t\t}\n\n\t\treturn (acc += '\\n');\n\t}, '');\n}\n\n/**\n * Setup code to capture the component trace while rendering. Note that\n * we cannot simply traverse `vnode._parent` upwards, because we have some\n * debug messages for `this.setState` where the `vnode` is `undefined`.\n */\nexport function setupComponentStack() {\n\tlet oldDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldRoot = options._root;\n\tlet oldVNode = options.vnode;\n\tlet oldRender = options._render;\n\n\toptions.diffed = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.pop();\n\t\t}\n\t\trenderStack.pop();\n\t\tif (oldDiffed) oldDiffed(vnode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\trenderStack.push(vnode);\n\t\t}\n\t\tif (oldDiff) oldDiff(vnode);\n\t};\n\n\toptions._root = (vnode, parent) => {\n\t\townerStack = [];\n\t\tif (oldRoot) oldRoot(vnode, parent);\n\t};\n\n\toptions.vnode = vnode => {\n\t\tvnode._owner =\n\t\t\townerStack.length > 0 ? ownerStack[ownerStack.length - 1] : null;\n\t\tif (oldVNode) oldVNode(vnode);\n\t};\n\n\toptions._render = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.push(vnode);\n\t\t}\n\n\t\tif (oldRender) oldRender(vnode);\n\t};\n}\n","import { checkPropTypes } from './check-props';\nimport { options, Component } from 'preact';\nimport {\n\tELEMENT_NODE,\n\tDOCUMENT_NODE,\n\tDOCUMENT_FRAGMENT_NODE\n} from './constants';\nimport {\n\tgetOwnerStack,\n\tsetupComponentStack,\n\tgetCurrentVNode,\n\tgetDisplayName\n} from './component-stack';\nimport { assign } from './util';\n\nconst isWeakMapSupported = typeof WeakMap == 'function';\n\nfunction getClosestDomNodeParent(parent) {\n\tif (!parent) return {};\n\tif (typeof parent.type == 'function') {\n\t\treturn getClosestDomNodeParent(parent._parent);\n\t}\n\treturn parent;\n}\n\nexport function initDebug() {\n\tsetupComponentStack();\n\n\tlet hooksAllowed = false;\n\n\t/* eslint-disable no-console */\n\tlet oldBeforeDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldVnode = options.vnode;\n\tlet oldCatchError = options._catchError;\n\tlet oldRoot = options._root;\n\tlet oldHook = options._hook;\n\tconst warnedComponents = !isWeakMapSupported\n\t\t? null\n\t\t: {\n\t\t\t\tuseEffect: new WeakMap(),\n\t\t\t\tuseLayoutEffect: new WeakMap(),\n\t\t\t\tlazyPropTypes: new WeakMap()\n\t\t };\n\tconst deprecations = [];\n\n\toptions._catchError = (error, vnode, oldVNode) => {\n\t\tlet component = vnode && vnode._component;\n\t\tif (component && typeof error.then == 'function') {\n\t\t\tconst promise = error;\n\t\t\terror = new Error(\n\t\t\t\t`Missing Suspense. The throwing component was: ${getDisplayName(vnode)}`\n\t\t\t);\n\n\t\t\tlet parent = vnode;\n\t\t\tfor (; parent; parent = parent._parent) {\n\t\t\t\tif (parent._component && parent._component._childDidSuspend) {\n\t\t\t\t\terror = promise;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// We haven't recovered and we know at this point that there is no\n\t\t\t// Suspense component higher up in the tree\n\t\t\tif (error instanceof Error) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\toldCatchError(error, vnode, oldVNode);\n\n\t\t\t// when an error was handled by an ErrorBoundary we will nontheless emit an error\n\t\t\t// event on the window object. This is to make up for react compatibility in dev mode\n\t\t\t// and thus make the Next.js dev overlay work.\n\t\t\tif (typeof error.then != 'function') {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthrow error;\n\t\t\t\t});\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tthrow e;\n\t\t}\n\t};\n\n\toptions._root = (vnode, parentNode) => {\n\t\tif (!parentNode) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined parent passed to render(), this is the second argument.\\n' +\n\t\t\t\t\t'Check if the element is available in the DOM/has the correct id.'\n\t\t\t);\n\t\t}\n\n\t\tlet isValid;\n\t\tswitch (parentNode.nodeType) {\n\t\t\tcase ELEMENT_NODE:\n\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\tcase DOCUMENT_NODE:\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!isValid) {\n\t\t\tlet componentName = getDisplayName(vnode);\n\t\t\tthrow new Error(\n\t\t\t\t`Expected a valid HTML node as a second argument to render.\tReceived ${parentNode} instead: render(<${componentName} />, ${parentNode});`\n\t\t\t);\n\t\t}\n\n\t\tif (oldRoot) oldRoot(vnode, parentNode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tlet { type, _parent: parent } = vnode;\n\t\tlet parentVNode = getClosestDomNodeParent(parent);\n\n\t\thooksAllowed = true;\n\n\t\tif (type === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined component passed to createElement()\\n\\n' +\n\t\t\t\t\t'You likely forgot to export your component or might have mixed up default and named imports' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type != null && typeof type == 'object') {\n\t\t\tif (type._children !== undefined && type._dom !== undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Invalid type passed to createElement(): ${type}\\n\\n` +\n\t\t\t\t\t\t'Did you accidentally pass a JSX literal as JSX twice?\\n\\n' +\n\t\t\t\t\t\t` let My${getDisplayName(vnode)} = ${serializeVNode(type)};\\n` +\n\t\t\t\t\t\t` let vnode = <My${getDisplayName(vnode)} />;\\n\\n` +\n\t\t\t\t\t\t'This usually happens when you export a JSX literal and not the component.' +\n\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthrow new Error(\n\t\t\t\t'Invalid type passed to createElement(): ' +\n\t\t\t\t\t(Array.isArray(type) ? 'array' : type)\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(type === 'thead' || type === 'tfoot' || type === 'tbody') &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (\n\t\t\ttype === 'tr' &&\n\t\t\tparentVNode.type !== 'thead' &&\n\t\t\tparentVNode.type !== 'tfoot' &&\n\t\t\tparentVNode.type !== 'tbody' &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot/table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'td' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <td> should have a <tr> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'th' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <th> should have a <tr>.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\tvnode.ref !== undefined &&\n\t\t\ttypeof vnode.ref != 'function' &&\n\t\t\ttypeof vnode.ref != 'object' &&\n\t\t\t!('$$typeof' in vnode) // allow string refs when preact-compat is installed\n\t\t) {\n\t\t\tthrow new Error(\n\t\t\t\t`Component's \"ref\" property should be a function, or an object created ` +\n\t\t\t\t\t`by createRef(), but got [${typeof vnode.ref}] instead\\n` +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (typeof vnode.type == 'string') {\n\t\t\tfor (const key in vnode.props) {\n\t\t\t\tif (\n\t\t\t\t\tkey[0] === 'o' &&\n\t\t\t\t\tkey[1] === 'n' &&\n\t\t\t\t\ttypeof vnode.props[key] != 'function' &&\n\t\t\t\t\tvnode.props[key] != null\n\t\t\t\t) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Component's \"${key}\" property should be a function, ` +\n\t\t\t\t\t\t\t`but got [${typeof vnode.props[key]}] instead\\n` +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check prop-types if available\n\t\tif (typeof vnode.type == 'function' && vnode.type.propTypes) {\n\t\t\tif (\n\t\t\t\tvnode.type.displayName === 'Lazy' &&\n\t\t\t\twarnedComponents &&\n\t\t\t\t!warnedComponents.lazyPropTypes.has(vnode.type)\n\t\t\t) {\n\t\t\t\tconst m =\n\t\t\t\t\t'PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ';\n\t\t\t\ttry {\n\t\t\t\t\tconst lazyVNode = vnode.type();\n\t\t\t\t\twarnedComponents.lazyPropTypes.set(vnode.type, true);\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + `Component wrapped in lazy() is ${getDisplayName(lazyVNode)}`\n\t\t\t\t\t);\n\t\t\t\t} catch (promise) {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + \"We will log the wrapped component's name once it is loaded.\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet values = vnode.props;\n\t\t\tif (vnode.type._forwarded) {\n\t\t\t\tvalues = assign({}, values);\n\t\t\t\tdelete values.ref;\n\t\t\t}\n\n\t\t\tcheckPropTypes(\n\t\t\t\tvnode.type.propTypes,\n\t\t\t\tvalues,\n\t\t\t\t'prop',\n\t\t\t\tgetDisplayName(vnode),\n\t\t\t\t() => getOwnerStack(vnode)\n\t\t\t);\n\t\t}\n\n\t\tif (oldBeforeDiff) oldBeforeDiff(vnode);\n\t};\n\n\toptions._hook = (comp, index, type) => {\n\t\tif (!comp || !hooksAllowed) {\n\t\t\tthrow new Error('Hook can only be invoked from render methods.');\n\t\t}\n\n\t\tif (oldHook) oldHook(comp, index, type);\n\t};\n\n\t// Ideally we'd want to print a warning once per component, but we\n\t// don't have access to the vnode that triggered it here. As a\n\t// compromise and to avoid flooding the console with warnings we\n\t// print each deprecation warning only once.\n\tconst warn = (property, message) => ({\n\t\tget() {\n\t\t\tconst key = 'get' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`getting vnode.${property} is deprecated, ${message}`);\n\t\t\t}\n\t\t},\n\t\tset() {\n\t\t\tconst key = 'set' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`setting vnode.${property} is not allowed, ${message}`);\n\t\t\t}\n\t\t}\n\t});\n\n\tconst deprecatedAttributes = {\n\t\tnodeName: warn('nodeName', 'use vnode.type'),\n\t\tattributes: warn('attributes', 'use vnode.props'),\n\t\tchildren: warn('children', 'use vnode.props.children')\n\t};\n\n\tconst deprecatedProto = Object.create({}, deprecatedAttributes);\n\n\toptions.vnode = vnode => {\n\t\tconst props = vnode.props;\n\t\tif (\n\t\t\tvnode.type !== null &&\n\t\t\tprops != null &&\n\t\t\t('__source' in props || '__self' in props)\n\t\t) {\n\t\t\tconst newProps = (vnode.props = {});\n\t\t\tfor (let i in props) {\n\t\t\t\tconst v = props[i];\n\t\t\t\tif (i === '__source') vnode.__source = v;\n\t\t\t\telse if (i === '__self') vnode.__self = v;\n\t\t\t\telse newProps[i] = v;\n\t\t\t}\n\t\t}\n\n\t\t// eslint-disable-next-line\n\t\tvnode.__proto__ = deprecatedProto;\n\t\tif (oldVnode) oldVnode(vnode);\n\t};\n\n\toptions.diffed = vnode => {\n\t\t// Check if the user passed plain objects as children. Note that we cannot\n\t\t// move this check into `options.vnode` because components can receive\n\t\t// children in any shape they want (e.g.\n\t\t// `<MyJSONFormatter>{{ foo: 123, bar: \"abc\" }}</MyJSONFormatter>`).\n\t\t// Putting this check in `options.diffed` ensures that\n\t\t// `vnode._children` is set and that we only validate the children\n\t\t// that were actually rendered.\n\t\tif (vnode._children) {\n\t\t\tvnode._children.forEach(child => {\n\t\t\t\tif (child && child.type === undefined) {\n\t\t\t\t\t// Remove internal vnode keys that will always be patched\n\t\t\t\t\tdelete child._parent;\n\t\t\t\t\tdelete child._depth;\n\t\t\t\t\tconst keys = Object.keys(child).join(',');\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Objects are not valid as a child. Encountered an object with the keys {${keys}}.` +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\thooksAllowed = false;\n\n\t\tif (oldDiffed) oldDiffed(vnode);\n\n\t\tif (vnode._children != null) {\n\t\t\tconst keys = [];\n\t\t\tfor (let i = 0; i < vnode._children.length; i++) {\n\t\t\t\tconst child = vnode._children[i];\n\t\t\t\tif (!child || child.key == null) continue;\n\n\t\t\t\tconst key = child.key;\n\t\t\t\tif (keys.indexOf(key) !== -1) {\n\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t'Following component has two or more children with the ' +\n\t\t\t\t\t\t\t`same key attribute: \"${key}\". This may cause glitches and misbehavior ` +\n\t\t\t\t\t\t\t'in rendering process. Component: \\n\\n' +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\n\t\t\t\t\t// Break early to not spam the console\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tkeys.push(key);\n\t\t\t}\n\t\t}\n\t};\n}\n\nconst setState = Component.prototype.setState;\nComponent.prototype.setState = function(update, callback) {\n\tif (this._vnode == null) {\n\t\t// `this._vnode` will be `null` during componentWillMount. But it\n\t\t// is perfectly valid to call `setState` during cWM. So we\n\t\t// need an additional check to verify that we are dealing with a\n\t\t// call inside constructor.\n\t\tif (this.state == null) {\n\t\t\tconsole.warn(\n\t\t\t\t`Calling \"this.setState\" inside the constructor of a component is a ` +\n\t\t\t\t\t`no-op and might be a bug in your application. Instead, set ` +\n\t\t\t\t\t`\"this.state = {}\" directly.\\n\\n${getOwnerStack(getCurrentVNode())}`\n\t\t\t);\n\t\t}\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.setState\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\n\treturn setState.call(this, update, callback);\n};\n\nconst forceUpdate = Component.prototype.forceUpdate;\nComponent.prototype.forceUpdate = function(callback) {\n\tif (this._vnode == null) {\n\t\tconsole.warn(\n\t\t\t`Calling \"this.forceUpdate\" inside the constructor of a component is a ` +\n\t\t\t\t`no-op and might be a bug in your application.\\n\\n${getOwnerStack(\n\t\t\t\t\tgetCurrentVNode()\n\t\t\t\t)}`\n\t\t);\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.forceUpdate\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\treturn forceUpdate.call(this, callback);\n};\n\n/**\n * Serialize a vnode tree to a string\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function serializeVNode(vnode) {\n\tlet { props } = vnode;\n\tlet name = getDisplayName(vnode);\n\n\tlet attrs = '';\n\tfor (let prop in props) {\n\t\tif (props.hasOwnProperty(prop) && prop !== 'children') {\n\t\t\tlet value = props[prop];\n\n\t\t\t// If it is an object but doesn't have toString(), use Object.toString\n\t\t\tif (typeof value == 'function') {\n\t\t\t\tvalue = `function ${value.displayName || value.name}() {}`;\n\t\t\t}\n\n\t\t\tvalue =\n\t\t\t\tObject(value) === value && !value.toString\n\t\t\t\t\t? Object.prototype.toString.call(value)\n\t\t\t\t\t: value + '';\n\n\t\t\tattrs += ` ${prop}=${JSON.stringify(value)}`;\n\t\t}\n\t}\n\n\tlet children = props.children;\n\treturn `<${name}${attrs}${\n\t\tchildren && children.length ? '>..</' + name + '>' : ' />'\n\t}`;\n}\n","export const ELEMENT_NODE = 1;\nexport const DOCUMENT_NODE = 9;\nexport const DOCUMENT_FRAGMENT_NODE = 11;\n","/**\n * Assign properties from `props` to `obj`\n * @template O, P The obj and props types\n * @param {O} obj The object to copy properties to\n * @param {P} props The object to copy properties from\n * @returns {O & P}\n */\nexport function assign(obj, props) {\n\tfor (let i in props) obj[i] = props[i];\n\treturn /** @type {O & P} */ (obj);\n}\n"],"names":["loggedTypeFailures","resetPropWarnings","getDisplayName","vnode","type","Fragment","displayName","name","renderStack","ownerStack","getCurrentVNode","length","hasBabelPlugin","isPossibleOwner","getOwnerStack","stack","next","push","reduce","acc","owner","source","__source","fileName","lineNumber","console","warn","isWeakMapSupported","WeakMap","setState","Component","prototype","update","callback","this","state","call","forceUpdate","serializeVNode","props","attrs","prop","hasOwnProperty","value","Object","toString","JSON","stringify","children","oldDiff","options","oldDiffed","diffed","oldRoot","oldVNode","oldRender","pop","parent","setupComponentStack","hooksAllowed","oldBeforeDiff","oldVnode","oldCatchError","oldHook","warnedComponents","useEffect","useLayoutEffect","lazyPropTypes","deprecations","error","then","promise","Error","setTimeout","e","parentNode","isValid","nodeType","componentName","parentVNode","getClosestDomNodeParent","undefined","Array","isArray","ref","key","propTypes","has","m","lazyVNode","set","values","obj","i","assign","typeSpecs","location","getStack","keys","forEach","typeSpecName","message","checkPropTypes","comp","index","property","get","indexOf","deprecatedAttributes","nodeName","attributes","deprecatedProto","create","newProps","v","__self","__proto__","child","join"],"mappings":"sFAAA,IAEIA,EAAqB,GAKzB,SAAgBC,IACfD,EAAqB,GCAf,SAASE,EAAeC,UAC1BA,EAAMC,OAASC,EACX,WACwB,mBAAdF,EAAMC,KAChBD,EAAMC,KAAKE,aAAeH,EAAMC,KAAKG,KACb,iBAAdJ,EAAMC,KAChBD,EAAMC,KAGP,QAOR,IAAII,EAAc,GAoBdC,EAAa,GAMjB,SAAgBC,WACRF,EAAYG,OAAS,EAAIH,EAAYA,EAAYG,OAAS,GAAK,KASvE,IAAIC,GAAiB,EAMrB,SAASC,EAAgBV,SACI,mBAAdA,EAAMC,MAAsBD,EAAMC,MAAQC,EAQlD,SAASS,EAAcX,WACvBY,EAAQ,CAACZ,GACXa,EAAOb,EACW,MAAfa,OACND,EAAME,KAAKD,OACXA,EAAOA,aAGDD,EAAMG,OAAO,SAACC,EAAKC,GACzBD,WAAejB,EAAekB,OAExBC,EAASD,EAAME,gBACjBD,EACHF,WAAeE,EAAOE,aAAYF,EAAOG,eAC9BZ,IACXA,GAAiB,EACjBa,QAAQC,KACP,mLAIMP,EAAO,MACb,IClFJ,IAAMQ,EAAuC,mBAAXC,QA4V5BC,EAAWC,EAAUC,UAAUF,SACrCC,EAAUC,UAAUF,SAAW,SAASG,EAAQC,UAC5B,MAAfC,SAKe,MAAdA,KAAKC,OACRV,QAAQC,KACP,gKAEmCZ,EAAcJ,MAGtB,MAAnBwB,UACVT,QAAQC,KACP,8NAGQZ,E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cA,GAAS,WAAYA,GACnC,KACK0E,EAAY9G,EAAMoC,MAAQ,OAC3B,IAAIsD,KAAKtD,EAAO,KACd2E,EAAI3E,EAAMsD,GACN,aAANA,EAAkB1F,EAAMmB,SAAW4F,EACxB,WAANrB,EAAgB1F,EAAMgH,OAASD,EACnCD,EAASpB,GAAKqB,GAKrB/G,EAAMiH,UAAYL,EACdlD,GAAUA,EAAS1D,IAGxB+C,EAAQE,OAAS,SAAAjD,MAQZA,OACHA,MAAgBgG,QAAQ,SAAAkB,MACnBA,QAAwBpC,IAAfoC,EAAMjH,KAAoB,QAE/BiH,YACAA,UACDnB,EAAOtD,OAAOsD,KAAKmB,GAAOC,KAAK,WAC/B,IAAI9C,MACT,0EAA0E0B,WAClEpF,EAAcX,OAM1BwD,GAAe,EAEXR,GAAWA,EAAUhD,GAEF,MAAnBA,cACG+F,EAAO,GACJL,EAAI,EAAGA,EAAI1F,MAAgBQ,OAAQkF,IAAK,KAC1CwB,EAAQlH,MAAgB0F,MACzBwB,GAAsB,MAAbA,EAAMhC,SAEdA,EAAMgC,EAAMhC,QACS,IAAvBa,EAAKS,QAAQtB,GAAa,CAC7B5D,QAAQ4C,MACP,8EACyBgB,qFAExB/C,EAAenC,UACRW,EAAcX,UAOxB+F,EAAKjF,KAAKoE"}
@@ -1 +1 @@
1
- {"version":3,"file":"debug.umd.js","sources":["../src/check-props.js","../src/component-stack.js","../src/debug.js","../src/constants.js","../src/util.js"],"sourcesContent":["const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nlet loggedTypeFailures = {};\n\n/**\n * Reset the history of which prop type warnings have been logged.\n */\nexport function resetPropWarnings() {\n\tloggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * Adapted from https://github.com/facebook/prop-types/blob/master/checkPropTypes.js\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n */\nexport function checkPropTypes(\n\ttypeSpecs,\n\tvalues,\n\tlocation,\n\tcomponentName,\n\tgetStack\n) {\n\tObject.keys(typeSpecs).forEach(typeSpecName => {\n\t\tlet error;\n\t\ttry {\n\t\t\terror = typeSpecs[typeSpecName](\n\t\t\t\tvalues,\n\t\t\t\ttypeSpecName,\n\t\t\t\tcomponentName,\n\t\t\t\tlocation,\n\t\t\t\tnull,\n\t\t\t\tReactPropTypesSecret\n\t\t\t);\n\t\t} catch (e) {\n\t\t\terror = e;\n\t\t}\n\t\tif (error && !(error.message in loggedTypeFailures)) {\n\t\t\tloggedTypeFailures[error.message] = true;\n\t\t\tconsole.error(\n\t\t\t\t`Failed ${location} type: ${error.message}${(getStack &&\n\t\t\t\t\t`\\n${getStack()}`) ||\n\t\t\t\t\t''}`\n\t\t\t);\n\t\t}\n\t});\n}\n","import { options, Fragment } from 'preact';\n\n/**\n * Get human readable name of the component/dom node\n * @param {import('./internal').VNode} vnode\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getDisplayName(vnode) {\n\tif (vnode.type === Fragment) {\n\t\treturn 'Fragment';\n\t} else if (typeof vnode.type == 'function') {\n\t\treturn vnode.type.displayName || vnode.type.name;\n\t} else if (typeof vnode.type == 'string') {\n\t\treturn vnode.type;\n\t}\n\n\treturn '#text';\n}\n\n/**\n * Used to keep track of the currently rendered `vnode` and print it\n * in debug messages.\n */\nlet renderStack = [];\n\n/**\n * Keep track of the current owners. An owner describes a component\n * which was responsible to render a specific `vnode`. This exclude\n * children that are passed via `props.children`, because they belong\n * to the parent owner.\n *\n * ```jsx\n * const Foo = props => <div>{props.children}</div> // div's owner is Foo\n * const Bar = props => {\n * return (\n * <Foo><span /></Foo> // Foo's owner is Bar, span's owner is Bar\n * )\n * }\n * ```\n *\n * Note: A `vnode` may be hoisted to the root scope due to compiler\n * optimiztions. In these cases the `_owner` will be different.\n */\nlet ownerStack = [];\n\n/**\n * Get the currently rendered `vnode`\n * @returns {import('./internal').VNode | null}\n */\nexport function getCurrentVNode() {\n\treturn renderStack.length > 0 ? renderStack[renderStack.length - 1] : null;\n}\n\n/**\n * If the user doesn't have `@babel/plugin-transform-react-jsx-source`\n * somewhere in his tool chain we can't print the filename and source\n * location of a component. In that case we just omit that, but we'll\n * print a helpful message to the console, notifying the user of it.\n */\nlet hasBabelPlugin = false;\n\n/**\n * Check if a `vnode` is a possible owner.\n * @param {import('./internal').VNode} vnode\n */\nfunction isPossibleOwner(vnode) {\n\treturn typeof vnode.type == 'function' && vnode.type != Fragment;\n}\n\n/**\n * Return the component stack that was captured up to this point.\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getOwnerStack(vnode) {\n\tconst stack = [vnode];\n\tlet next = vnode;\n\twhile (next._owner != null) {\n\t\tstack.push(next._owner);\n\t\tnext = next._owner;\n\t}\n\n\treturn stack.reduce((acc, owner) => {\n\t\tacc += ` in ${getDisplayName(owner)}`;\n\n\t\tconst source = owner.__source;\n\t\tif (source) {\n\t\t\tacc += ` (at ${source.fileName}:${source.lineNumber})`;\n\t\t} else if (!hasBabelPlugin) {\n\t\t\thasBabelPlugin = true;\n\t\t\tconsole.warn(\n\t\t\t\t'Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.'\n\t\t\t);\n\t\t}\n\n\t\treturn (acc += '\\n');\n\t}, '');\n}\n\n/**\n * Setup code to capture the component trace while rendering. Note that\n * we cannot simply traverse `vnode._parent` upwards, because we have some\n * debug messages for `this.setState` where the `vnode` is `undefined`.\n */\nexport function setupComponentStack() {\n\tlet oldDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldRoot = options._root;\n\tlet oldVNode = options.vnode;\n\tlet oldRender = options._render;\n\n\toptions.diffed = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.pop();\n\t\t}\n\t\trenderStack.pop();\n\t\tif (oldDiffed) oldDiffed(vnode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\trenderStack.push(vnode);\n\t\t}\n\t\tif (oldDiff) oldDiff(vnode);\n\t};\n\n\toptions._root = (vnode, parent) => {\n\t\townerStack = [];\n\t\tif (oldRoot) oldRoot(vnode, parent);\n\t};\n\n\toptions.vnode = vnode => {\n\t\tvnode._owner =\n\t\t\townerStack.length > 0 ? ownerStack[ownerStack.length - 1] : null;\n\t\tif (oldVNode) oldVNode(vnode);\n\t};\n\n\toptions._render = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.push(vnode);\n\t\t}\n\n\t\tif (oldRender) oldRender(vnode);\n\t};\n}\n","import { checkPropTypes } from './check-props';\nimport { options, Component } from 'preact';\nimport {\n\tELEMENT_NODE,\n\tDOCUMENT_NODE,\n\tDOCUMENT_FRAGMENT_NODE\n} from './constants';\nimport {\n\tgetOwnerStack,\n\tsetupComponentStack,\n\tgetCurrentVNode,\n\tgetDisplayName\n} from './component-stack';\nimport { assign } from './util';\n\nconst isWeakMapSupported = typeof WeakMap == 'function';\n\nfunction getClosestDomNodeParent(parent) {\n\tif (!parent) return {};\n\tif (typeof parent.type == 'function') {\n\t\treturn getClosestDomNodeParent(parent._parent);\n\t}\n\treturn parent;\n}\n\nexport function initDebug() {\n\tsetupComponentStack();\n\n\tlet hooksAllowed = false;\n\n\t/* eslint-disable no-console */\n\tlet oldBeforeDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldVnode = options.vnode;\n\tlet oldCatchError = options._catchError;\n\tlet oldRoot = options._root;\n\tlet oldHook = options._hook;\n\tconst warnedComponents = !isWeakMapSupported\n\t\t? null\n\t\t: {\n\t\t\t\tuseEffect: new WeakMap(),\n\t\t\t\tuseLayoutEffect: new WeakMap(),\n\t\t\t\tlazyPropTypes: new WeakMap()\n\t\t };\n\tconst deprecations = [];\n\n\toptions._catchError = (error, vnode, oldVNode) => {\n\t\tlet component = vnode && vnode._component;\n\t\tif (component && typeof error.then == 'function') {\n\t\t\tconst promise = error;\n\t\t\terror = new Error(\n\t\t\t\t`Missing Suspense. The throwing component was: ${getDisplayName(vnode)}`\n\t\t\t);\n\n\t\t\tlet parent = vnode;\n\t\t\tfor (; parent; parent = parent._parent) {\n\t\t\t\tif (parent._component && parent._component._childDidSuspend) {\n\t\t\t\t\terror = promise;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// We haven't recovered and we know at this point that there is no\n\t\t\t// Suspense component higher up in the tree\n\t\t\tif (error instanceof Error) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\toldCatchError(error, vnode, oldVNode);\n\n\t\t\t// when an error was handled by an ErrorBoundary we will nontheless emit an error\n\t\t\t// event on the window object. This is to make up for react compatibility in dev mode\n\t\t\t// and thus make the Next.js dev overlay work.\n\t\t\tif (typeof error.then != 'function') {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthrow error;\n\t\t\t\t});\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tthrow e;\n\t\t}\n\t};\n\n\toptions._root = (vnode, parentNode) => {\n\t\tif (!parentNode) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined parent passed to render(), this is the second argument.\\n' +\n\t\t\t\t\t'Check if the element is available in the DOM/has the correct id.'\n\t\t\t);\n\t\t}\n\n\t\tlet isValid;\n\t\tswitch (parentNode.nodeType) {\n\t\t\tcase ELEMENT_NODE:\n\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\tcase DOCUMENT_NODE:\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!isValid) {\n\t\t\tlet componentName = getDisplayName(vnode);\n\t\t\tthrow new Error(\n\t\t\t\t`Expected a valid HTML node as a second argument to render.\tReceived ${parentNode} instead: render(<${componentName} />, ${parentNode});`\n\t\t\t);\n\t\t}\n\n\t\tif (oldRoot) oldRoot(vnode, parentNode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tlet { type, _parent: parent } = vnode;\n\t\tlet parentVNode = getClosestDomNodeParent(parent);\n\n\t\thooksAllowed = true;\n\n\t\tif (type === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined component passed to createElement()\\n\\n' +\n\t\t\t\t\t'You likely forgot to export your component or might have mixed up default and named imports' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type != null && typeof type == 'object') {\n\t\t\tif (type._children !== undefined && type._dom !== undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Invalid type passed to createElement(): ${type}\\n\\n` +\n\t\t\t\t\t\t'Did you accidentally pass a JSX literal as JSX twice?\\n\\n' +\n\t\t\t\t\t\t` let My${getDisplayName(vnode)} = ${serializeVNode(type)};\\n` +\n\t\t\t\t\t\t` let vnode = <My${getDisplayName(vnode)} />;\\n\\n` +\n\t\t\t\t\t\t'This usually happens when you export a JSX literal and not the component.' +\n\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthrow new Error(\n\t\t\t\t'Invalid type passed to createElement(): ' +\n\t\t\t\t\t(Array.isArray(type) ? 'array' : type)\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(type === 'thead' || type === 'tfoot' || type === 'tbody') &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (\n\t\t\ttype === 'tr' &&\n\t\t\tparentVNode.type !== 'thead' &&\n\t\t\tparentVNode.type !== 'tfoot' &&\n\t\t\tparentVNode.type !== 'tbody' &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot/table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'td' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <td> should have a <tr> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'th' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <th> should have a <tr>.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\tvnode.ref !== undefined &&\n\t\t\ttypeof vnode.ref != 'function' &&\n\t\t\ttypeof vnode.ref != 'object' &&\n\t\t\t!('$$typeof' in vnode) // allow string refs when preact-compat is installed\n\t\t) {\n\t\t\tthrow new Error(\n\t\t\t\t`Component's \"ref\" property should be a function, or an object created ` +\n\t\t\t\t\t`by createRef(), but got [${typeof vnode.ref}] instead\\n` +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (typeof vnode.type == 'string') {\n\t\t\tfor (const key in vnode.props) {\n\t\t\t\tif (\n\t\t\t\t\tkey[0] === 'o' &&\n\t\t\t\t\tkey[1] === 'n' &&\n\t\t\t\t\ttypeof vnode.props[key] != 'function' &&\n\t\t\t\t\tvnode.props[key] != null\n\t\t\t\t) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Component's \"${key}\" property should be a function, ` +\n\t\t\t\t\t\t\t`but got [${typeof vnode.props[key]}] instead\\n` +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check prop-types if available\n\t\tif (typeof vnode.type == 'function' && vnode.type.propTypes) {\n\t\t\tif (\n\t\t\t\tvnode.type.displayName === 'Lazy' &&\n\t\t\t\twarnedComponents &&\n\t\t\t\t!warnedComponents.lazyPropTypes.has(vnode.type)\n\t\t\t) {\n\t\t\t\tconst m =\n\t\t\t\t\t'PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ';\n\t\t\t\ttry {\n\t\t\t\t\tconst lazyVNode = vnode.type();\n\t\t\t\t\twarnedComponents.lazyPropTypes.set(vnode.type, true);\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + `Component wrapped in lazy() is ${getDisplayName(lazyVNode)}`\n\t\t\t\t\t);\n\t\t\t\t} catch (promise) {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + \"We will log the wrapped component's name once it is loaded.\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet values = vnode.props;\n\t\t\tif (vnode.type._forwarded) {\n\t\t\t\tvalues = assign({}, values);\n\t\t\t\tdelete values.ref;\n\t\t\t}\n\n\t\t\tcheckPropTypes(\n\t\t\t\tvnode.type.propTypes,\n\t\t\t\tvalues,\n\t\t\t\t'prop',\n\t\t\t\tgetDisplayName(vnode),\n\t\t\t\t() => getOwnerStack(vnode)\n\t\t\t);\n\t\t}\n\n\t\tif (oldBeforeDiff) oldBeforeDiff(vnode);\n\t};\n\n\toptions._hook = (comp, index, type) => {\n\t\tif (!comp || !hooksAllowed) {\n\t\t\tthrow new Error('Hook can only be invoked from render methods.');\n\t\t}\n\n\t\tif (oldHook) oldHook(comp, index, type);\n\t};\n\n\t// Ideally we'd want to print a warning once per component, but we\n\t// don't have access to the vnode that triggered it here. As a\n\t// compromise and to avoid flooding the console with warnings we\n\t// print each deprecation warning only once.\n\tconst warn = (property, message) => ({\n\t\tget() {\n\t\t\tconst key = 'get' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`getting vnode.${property} is deprecated, ${message}`);\n\t\t\t}\n\t\t},\n\t\tset() {\n\t\t\tconst key = 'set' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`setting vnode.${property} is not allowed, ${message}`);\n\t\t\t}\n\t\t}\n\t});\n\n\tconst deprecatedAttributes = {\n\t\tnodeName: warn('nodeName', 'use vnode.type'),\n\t\tattributes: warn('attributes', 'use vnode.props'),\n\t\tchildren: warn('children', 'use vnode.props.children')\n\t};\n\n\tconst deprecatedProto = Object.create({}, deprecatedAttributes);\n\n\toptions.vnode = vnode => {\n\t\tconst props = vnode.props;\n\t\tif (\n\t\t\tvnode.type !== null &&\n\t\t\tprops != null &&\n\t\t\t('__source' in props || '__self' in props)\n\t\t) {\n\t\t\tconst newProps = (vnode.props = {});\n\t\t\tfor (let i in props) {\n\t\t\t\tconst v = props[i];\n\t\t\t\tif (i === '__source') vnode.__source = v;\n\t\t\t\telse if (i === '__self') vnode.__self = v;\n\t\t\t\telse newProps[i] = v;\n\t\t\t}\n\t\t}\n\n\t\t// eslint-disable-next-line\n\t\tvnode.__proto__ = deprecatedProto;\n\t\tif (oldVnode) oldVnode(vnode);\n\t};\n\n\toptions.diffed = vnode => {\n\t\t// Check if the user passed plain objects as children. Note that we cannot\n\t\t// move this check into `options.vnode` because components can receive\n\t\t// children in any shape they want (e.g.\n\t\t// `<MyJSONFormatter>{{ foo: 123, bar: \"abc\" }}</MyJSONFormatter>`).\n\t\t// Putting this check in `options.diffed` ensures that\n\t\t// `vnode._children` is set and that we only validate the children\n\t\t// that were actually rendered.\n\t\tif (vnode._children) {\n\t\t\tvnode._children.forEach(child => {\n\t\t\t\tif (child && child.type === undefined) {\n\t\t\t\t\t// Remove internal vnode keys that will always be patched\n\t\t\t\t\tdelete child._parent;\n\t\t\t\t\tdelete child._depth;\n\t\t\t\t\tconst keys = Object.keys(child).join(',');\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Objects are not valid as a child. Encountered an object with the keys {${keys}}.` +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\thooksAllowed = false;\n\n\t\tif (oldDiffed) oldDiffed(vnode);\n\n\t\tif (vnode._children != null) {\n\t\t\tconst keys = [];\n\t\t\tfor (let i = 0; i < vnode._children.length; i++) {\n\t\t\t\tconst child = vnode._children[i];\n\t\t\t\tif (!child || child.key == null) continue;\n\n\t\t\t\tconst key = child.key;\n\t\t\t\tif (keys.indexOf(key) !== -1) {\n\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t'Following component has two or more children with the ' +\n\t\t\t\t\t\t\t`same key attribute: \"${key}\". This may cause glitches and misbehavior ` +\n\t\t\t\t\t\t\t'in rendering process. Component: \\n\\n' +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\n\t\t\t\t\t// Break early to not spam the console\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tkeys.push(key);\n\t\t\t}\n\t\t}\n\t};\n}\n\nconst setState = Component.prototype.setState;\nComponent.prototype.setState = function(update, callback) {\n\tif (this._vnode == null) {\n\t\t// `this._vnode` will be `null` during componentWillMount. But it\n\t\t// is perfectly valid to call `setState` during cWM. So we\n\t\t// need an additional check to verify that we are dealing with a\n\t\t// call inside constructor.\n\t\tif (this.state == null) {\n\t\t\tconsole.warn(\n\t\t\t\t`Calling \"this.setState\" inside the constructor of a component is a ` +\n\t\t\t\t\t`no-op and might be a bug in your application. Instead, set ` +\n\t\t\t\t\t`\"this.state = {}\" directly.\\n\\n${getOwnerStack(getCurrentVNode())}`\n\t\t\t);\n\t\t}\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.setState\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\n\treturn setState.call(this, update, callback);\n};\n\nconst forceUpdate = Component.prototype.forceUpdate;\nComponent.prototype.forceUpdate = function(callback) {\n\tif (this._vnode == null) {\n\t\tconsole.warn(\n\t\t\t`Calling \"this.forceUpdate\" inside the constructor of a component is a ` +\n\t\t\t\t`no-op and might be a bug in your application.\\n\\n${getOwnerStack(\n\t\t\t\t\tgetCurrentVNode()\n\t\t\t\t)}`\n\t\t);\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.forceUpdate\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\treturn forceUpdate.call(this, callback);\n};\n\n/**\n * Serialize a vnode tree to a string\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function serializeVNode(vnode) {\n\tlet { props } = vnode;\n\tlet name = getDisplayName(vnode);\n\n\tlet attrs = '';\n\tfor (let prop in props) {\n\t\tif (props.hasOwnProperty(prop) && prop !== 'children') {\n\t\t\tlet value = props[prop];\n\n\t\t\t// If it is an object but doesn't have toString(), use Object.toString\n\t\t\tif (typeof value == 'function') {\n\t\t\t\tvalue = `function ${value.displayName || value.name}() {}`;\n\t\t\t}\n\n\t\t\tvalue =\n\t\t\t\tObject(value) === value && !value.toString\n\t\t\t\t\t? Object.prototype.toString.call(value)\n\t\t\t\t\t: value + '';\n\n\t\t\tattrs += ` ${prop}=${JSON.stringify(value)}`;\n\t\t}\n\t}\n\n\tlet children = props.children;\n\treturn `<${name}${attrs}${\n\t\tchildren && children.length ? '>..</' + name + '>' : ' />'\n\t}`;\n}\n","export const ELEMENT_NODE = 1;\nexport const DOCUMENT_NODE = 9;\nexport const DOCUMENT_FRAGMENT_NODE = 11;\n","/**\n * Assign properties from `props` to `obj`\n * @template O, P The obj and props types\n * @param {O} obj The object to copy properties to\n * @param {P} props The object to copy properties from\n * @returns {O & P}\n */\nexport function assign(obj, props) {\n\tfor (let i in props) obj[i] = props[i];\n\treturn /** @type {O & P} */ (obj);\n}\n"],"names":["loggedTypeFailures","getDisplayName","vnode","type","Fragment","displayName","name","renderStack","ownerStack","getCurrentVNode","length","hasBabelPlugin","isPossibleOwner","getOwnerStack","stack","next","push","reduce","acc","owner","source","__source","fileName","lineNumber","console","warn","isWeakMapSupported","WeakMap","setState","Component","prototype","update","callback","this","state","call","forceUpdate","serializeVNode","props","attrs","prop","hasOwnProperty","value","Object","toString","JSON","stringify","children","oldDiff","options","oldDiffed","diffed","oldRoot","oldVNode","oldRender","pop","parent","setupComponentStack","hooksAllowed","oldBeforeDiff","oldVnode","oldCatchError","oldHook","warnedComponents","useEffect","useLayoutEffect","lazyPropTypes","deprecations","error","then","promise","Error","setTimeout","e","parentNode","isValid","nodeType","componentName","parentVNode","getClosestDomNodeParent","undefined","Array","isArray","ref","key","propTypes","has","m","lazyVNode","set","values","obj","i","assign","typeSpecs","location","getStack","keys","forEach","typeSpecName","message","checkPropTypes","comp","index","property","get","indexOf","deprecatedAttributes","nodeName","attributes","deprecatedProto","create","newProps","v","__self","__proto__","child","join"],"mappings":"oQAAA,IAEIA,EAAqB,GCMlB,SAASC,EAAeC,UAC1BA,EAAMC,OAASC,WACX,WACwB,mBAAdF,EAAMC,KAChBD,EAAMC,KAAKE,aAAeH,EAAM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F,MAAnBA,cACG+F,EAAO,GACJL,EAAI,EAAGA,EAAI1F,MAAgBQ,OAAQkF,IAAK,KAC1CwB,EAAQlH,MAAgB0F,MACzBwB,GAAsB,MAAbA,EAAMhC,SAEdA,EAAMgC,EAAMhC,QACS,IAAvBa,EAAKS,QAAQtB,GAAa,CAC7B5D,QAAQ4C,MACP,8EACyBgB,qFAExB/C,EAAenC,UACRW,EAAcX,UAOxB+F,EAAKjF,KAAKoE,6BF9VP,WACNpF,EAAqB"}
1
+ {"version":3,"file":"debug.umd.js","sources":["../src/check-props.js","../src/component-stack.js","../src/debug.js","../src/constants.js","../src/util.js"],"sourcesContent":["const ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nlet loggedTypeFailures = {};\n\n/**\n * Reset the history of which prop type warnings have been logged.\n */\nexport function resetPropWarnings() {\n\tloggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * Adapted from https://github.com/facebook/prop-types/blob/master/checkPropTypes.js\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n */\nexport function checkPropTypes(\n\ttypeSpecs,\n\tvalues,\n\tlocation,\n\tcomponentName,\n\tgetStack\n) {\n\tObject.keys(typeSpecs).forEach(typeSpecName => {\n\t\tlet error;\n\t\ttry {\n\t\t\terror = typeSpecs[typeSpecName](\n\t\t\t\tvalues,\n\t\t\t\ttypeSpecName,\n\t\t\t\tcomponentName,\n\t\t\t\tlocation,\n\t\t\t\tnull,\n\t\t\t\tReactPropTypesSecret\n\t\t\t);\n\t\t} catch (e) {\n\t\t\terror = e;\n\t\t}\n\t\tif (error && !(error.message in loggedTypeFailures)) {\n\t\t\tloggedTypeFailures[error.message] = true;\n\t\t\tconsole.error(\n\t\t\t\t`Failed ${location} type: ${error.message}${(getStack &&\n\t\t\t\t\t`\\n${getStack()}`) ||\n\t\t\t\t\t''}`\n\t\t\t);\n\t\t}\n\t});\n}\n","import { options, Fragment } from 'preact';\n\n/**\n * Get human readable name of the component/dom node\n * @param {import('./internal').VNode} vnode\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getDisplayName(vnode) {\n\tif (vnode.type === Fragment) {\n\t\treturn 'Fragment';\n\t} else if (typeof vnode.type == 'function') {\n\t\treturn vnode.type.displayName || vnode.type.name;\n\t} else if (typeof vnode.type == 'string') {\n\t\treturn vnode.type;\n\t}\n\n\treturn '#text';\n}\n\n/**\n * Used to keep track of the currently rendered `vnode` and print it\n * in debug messages.\n */\nlet renderStack = [];\n\n/**\n * Keep track of the current owners. An owner describes a component\n * which was responsible to render a specific `vnode`. This exclude\n * children that are passed via `props.children`, because they belong\n * to the parent owner.\n *\n * ```jsx\n * const Foo = props => <div>{props.children}</div> // div's owner is Foo\n * const Bar = props => {\n * return (\n * <Foo><span /></Foo> // Foo's owner is Bar, span's owner is Bar\n * )\n * }\n * ```\n *\n * Note: A `vnode` may be hoisted to the root scope due to compiler\n * optimiztions. In these cases the `_owner` will be different.\n */\nlet ownerStack = [];\n\n/**\n * Get the currently rendered `vnode`\n * @returns {import('./internal').VNode | null}\n */\nexport function getCurrentVNode() {\n\treturn renderStack.length > 0 ? renderStack[renderStack.length - 1] : null;\n}\n\n/**\n * If the user doesn't have `@babel/plugin-transform-react-jsx-source`\n * somewhere in his tool chain we can't print the filename and source\n * location of a component. In that case we just omit that, but we'll\n * print a helpful message to the console, notifying the user of it.\n */\nlet hasBabelPlugin = false;\n\n/**\n * Check if a `vnode` is a possible owner.\n * @param {import('./internal').VNode} vnode\n */\nfunction isPossibleOwner(vnode) {\n\treturn typeof vnode.type == 'function' && vnode.type != Fragment;\n}\n\n/**\n * Return the component stack that was captured up to this point.\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function getOwnerStack(vnode) {\n\tconst stack = [vnode];\n\tlet next = vnode;\n\twhile (next._owner != null) {\n\t\tstack.push(next._owner);\n\t\tnext = next._owner;\n\t}\n\n\treturn stack.reduce((acc, owner) => {\n\t\tacc += ` in ${getDisplayName(owner)}`;\n\n\t\tconst source = owner.__source;\n\t\tif (source) {\n\t\t\tacc += ` (at ${source.fileName}:${source.lineNumber})`;\n\t\t} else if (!hasBabelPlugin) {\n\t\t\thasBabelPlugin = true;\n\t\t\tconsole.warn(\n\t\t\t\t'Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.'\n\t\t\t);\n\t\t}\n\n\t\treturn (acc += '\\n');\n\t}, '');\n}\n\n/**\n * Setup code to capture the component trace while rendering. Note that\n * we cannot simply traverse `vnode._parent` upwards, because we have some\n * debug messages for `this.setState` where the `vnode` is `undefined`.\n */\nexport function setupComponentStack() {\n\tlet oldDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldRoot = options._root;\n\tlet oldVNode = options.vnode;\n\tlet oldRender = options._render;\n\n\toptions.diffed = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.pop();\n\t\t}\n\t\trenderStack.pop();\n\t\tif (oldDiffed) oldDiffed(vnode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\trenderStack.push(vnode);\n\t\t}\n\t\tif (oldDiff) oldDiff(vnode);\n\t};\n\n\toptions._root = (vnode, parent) => {\n\t\townerStack = [];\n\t\tif (oldRoot) oldRoot(vnode, parent);\n\t};\n\n\toptions.vnode = vnode => {\n\t\tvnode._owner =\n\t\t\townerStack.length > 0 ? ownerStack[ownerStack.length - 1] : null;\n\t\tif (oldVNode) oldVNode(vnode);\n\t};\n\n\toptions._render = vnode => {\n\t\tif (isPossibleOwner(vnode)) {\n\t\t\townerStack.push(vnode);\n\t\t}\n\n\t\tif (oldRender) oldRender(vnode);\n\t};\n}\n","import { checkPropTypes } from './check-props';\nimport { options, Component } from 'preact';\nimport {\n\tELEMENT_NODE,\n\tDOCUMENT_NODE,\n\tDOCUMENT_FRAGMENT_NODE\n} from './constants';\nimport {\n\tgetOwnerStack,\n\tsetupComponentStack,\n\tgetCurrentVNode,\n\tgetDisplayName\n} from './component-stack';\nimport { assign } from './util';\n\nconst isWeakMapSupported = typeof WeakMap == 'function';\n\nfunction getClosestDomNodeParent(parent) {\n\tif (!parent) return {};\n\tif (typeof parent.type == 'function') {\n\t\treturn getClosestDomNodeParent(parent._parent);\n\t}\n\treturn parent;\n}\n\nexport function initDebug() {\n\tsetupComponentStack();\n\n\tlet hooksAllowed = false;\n\n\t/* eslint-disable no-console */\n\tlet oldBeforeDiff = options._diff;\n\tlet oldDiffed = options.diffed;\n\tlet oldVnode = options.vnode;\n\tlet oldCatchError = options._catchError;\n\tlet oldRoot = options._root;\n\tlet oldHook = options._hook;\n\tconst warnedComponents = !isWeakMapSupported\n\t\t? null\n\t\t: {\n\t\t\t\tuseEffect: new WeakMap(),\n\t\t\t\tuseLayoutEffect: new WeakMap(),\n\t\t\t\tlazyPropTypes: new WeakMap()\n\t\t };\n\tconst deprecations = [];\n\n\toptions._catchError = (error, vnode, oldVNode) => {\n\t\tlet component = vnode && vnode._component;\n\t\tif (component && typeof error.then == 'function') {\n\t\t\tconst promise = error;\n\t\t\terror = new Error(\n\t\t\t\t`Missing Suspense. The throwing component was: ${getDisplayName(vnode)}`\n\t\t\t);\n\n\t\t\tlet parent = vnode;\n\t\t\tfor (; parent; parent = parent._parent) {\n\t\t\t\tif (parent._component && parent._component._childDidSuspend) {\n\t\t\t\t\terror = promise;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// We haven't recovered and we know at this point that there is no\n\t\t\t// Suspense component higher up in the tree\n\t\t\tif (error instanceof Error) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\toldCatchError(error, vnode, oldVNode);\n\n\t\t\t// when an error was handled by an ErrorBoundary we will nontheless emit an error\n\t\t\t// event on the window object. This is to make up for react compatibility in dev mode\n\t\t\t// and thus make the Next.js dev overlay work.\n\t\t\tif (typeof error.then != 'function') {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthrow error;\n\t\t\t\t});\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tthrow e;\n\t\t}\n\t};\n\n\toptions._root = (vnode, parentNode) => {\n\t\tif (!parentNode) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined parent passed to render(), this is the second argument.\\n' +\n\t\t\t\t\t'Check if the element is available in the DOM/has the correct id.'\n\t\t\t);\n\t\t}\n\n\t\tlet isValid;\n\t\tswitch (parentNode.nodeType) {\n\t\t\tcase ELEMENT_NODE:\n\t\t\tcase DOCUMENT_FRAGMENT_NODE:\n\t\t\tcase DOCUMENT_NODE:\n\t\t\t\tisValid = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tisValid = false;\n\t\t}\n\n\t\tif (!isValid) {\n\t\t\tlet componentName = getDisplayName(vnode);\n\t\t\tthrow new Error(\n\t\t\t\t`Expected a valid HTML node as a second argument to render.\tReceived ${parentNode} instead: render(<${componentName} />, ${parentNode});`\n\t\t\t);\n\t\t}\n\n\t\tif (oldRoot) oldRoot(vnode, parentNode);\n\t};\n\n\toptions._diff = vnode => {\n\t\tlet { type, _parent: parent } = vnode;\n\t\tlet parentVNode = getClosestDomNodeParent(parent);\n\n\t\thooksAllowed = true;\n\n\t\tif (type === undefined) {\n\t\t\tthrow new Error(\n\t\t\t\t'Undefined component passed to createElement()\\n\\n' +\n\t\t\t\t\t'You likely forgot to export your component or might have mixed up default and named imports' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type != null && typeof type == 'object') {\n\t\t\tif (type._children !== undefined && type._dom !== undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Invalid type passed to createElement(): ${type}\\n\\n` +\n\t\t\t\t\t\t'Did you accidentally pass a JSX literal as JSX twice?\\n\\n' +\n\t\t\t\t\t\t` let My${getDisplayName(vnode)} = ${serializeVNode(type)};\\n` +\n\t\t\t\t\t\t` let vnode = <My${getDisplayName(vnode)} />;\\n\\n` +\n\t\t\t\t\t\t'This usually happens when you export a JSX literal and not the component.' +\n\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tthrow new Error(\n\t\t\t\t'Invalid type passed to createElement(): ' +\n\t\t\t\t\t(Array.isArray(type) ? 'array' : type)\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(type === 'thead' || type === 'tfoot' || type === 'tbody') &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (\n\t\t\ttype === 'tr' &&\n\t\t\tparentVNode.type !== 'thead' &&\n\t\t\tparentVNode.type !== 'tfoot' &&\n\t\t\tparentVNode.type !== 'tbody' &&\n\t\t\tparentVNode.type !== 'table'\n\t\t) {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot/table> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'td' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <td> should have a <tr> parent.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t} else if (type === 'th' && parentVNode.type !== 'tr') {\n\t\t\tconsole.error(\n\t\t\t\t'Improper nesting of table. Your <th> should have a <tr>.' +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\tvnode.ref !== undefined &&\n\t\t\ttypeof vnode.ref != 'function' &&\n\t\t\ttypeof vnode.ref != 'object' &&\n\t\t\t!('$$typeof' in vnode) // allow string refs when preact-compat is installed\n\t\t) {\n\t\t\tthrow new Error(\n\t\t\t\t`Component's \"ref\" property should be a function, or an object created ` +\n\t\t\t\t\t`by createRef(), but got [${typeof vnode.ref}] instead\\n` +\n\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t);\n\t\t}\n\n\t\tif (typeof vnode.type == 'string') {\n\t\t\tfor (const key in vnode.props) {\n\t\t\t\tif (\n\t\t\t\t\tkey[0] === 'o' &&\n\t\t\t\t\tkey[1] === 'n' &&\n\t\t\t\t\ttypeof vnode.props[key] != 'function' &&\n\t\t\t\t\tvnode.props[key] != null\n\t\t\t\t) {\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Component's \"${key}\" property should be a function, ` +\n\t\t\t\t\t\t\t`but got [${typeof vnode.props[key]}] instead\\n` +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Check prop-types if available\n\t\tif (typeof vnode.type == 'function' && vnode.type.propTypes) {\n\t\t\tif (\n\t\t\t\tvnode.type.displayName === 'Lazy' &&\n\t\t\t\twarnedComponents &&\n\t\t\t\t!warnedComponents.lazyPropTypes.has(vnode.type)\n\t\t\t) {\n\t\t\t\tconst m =\n\t\t\t\t\t'PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ';\n\t\t\t\ttry {\n\t\t\t\t\tconst lazyVNode = vnode.type();\n\t\t\t\t\twarnedComponents.lazyPropTypes.set(vnode.type, true);\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + `Component wrapped in lazy() is ${getDisplayName(lazyVNode)}`\n\t\t\t\t\t);\n\t\t\t\t} catch (promise) {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\tm + \"We will log the wrapped component's name once it is loaded.\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet values = vnode.props;\n\t\t\tif (vnode.type._forwarded) {\n\t\t\t\tvalues = assign({}, values);\n\t\t\t\tdelete values.ref;\n\t\t\t}\n\n\t\t\tcheckPropTypes(\n\t\t\t\tvnode.type.propTypes,\n\t\t\t\tvalues,\n\t\t\t\t'prop',\n\t\t\t\tgetDisplayName(vnode),\n\t\t\t\t() => getOwnerStack(vnode)\n\t\t\t);\n\t\t}\n\n\t\tif (oldBeforeDiff) oldBeforeDiff(vnode);\n\t};\n\n\toptions._hook = (comp, index, type) => {\n\t\tif (!comp || !hooksAllowed) {\n\t\t\tthrow new Error('Hook can only be invoked from render methods.');\n\t\t}\n\n\t\tif (oldHook) oldHook(comp, index, type);\n\t};\n\n\t// Ideally we'd want to print a warning once per component, but we\n\t// don't have access to the vnode that triggered it here. As a\n\t// compromise and to avoid flooding the console with warnings we\n\t// print each deprecation warning only once.\n\tconst warn = (property, message) => ({\n\t\tget() {\n\t\t\tconst key = 'get' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`getting vnode.${property} is deprecated, ${message}`);\n\t\t\t}\n\t\t},\n\t\tset() {\n\t\t\tconst key = 'set' + property + message;\n\t\t\tif (deprecations && deprecations.indexOf(key) < 0) {\n\t\t\t\tdeprecations.push(key);\n\t\t\t\tconsole.warn(`setting vnode.${property} is not allowed, ${message}`);\n\t\t\t}\n\t\t}\n\t});\n\n\tconst deprecatedAttributes = {\n\t\tnodeName: warn('nodeName', 'use vnode.type'),\n\t\tattributes: warn('attributes', 'use vnode.props'),\n\t\tchildren: warn('children', 'use vnode.props.children')\n\t};\n\n\tconst deprecatedProto = Object.create({}, deprecatedAttributes);\n\n\toptions.vnode = vnode => {\n\t\tconst props = vnode.props;\n\t\tif (\n\t\t\tvnode.type !== null &&\n\t\t\tprops != null &&\n\t\t\t('__source' in props || '__self' in props)\n\t\t) {\n\t\t\tconst newProps = (vnode.props = {});\n\t\t\tfor (let i in props) {\n\t\t\t\tconst v = props[i];\n\t\t\t\tif (i === '__source') vnode.__source = v;\n\t\t\t\telse if (i === '__self') vnode.__self = v;\n\t\t\t\telse newProps[i] = v;\n\t\t\t}\n\t\t}\n\n\t\t// eslint-disable-next-line\n\t\tvnode.__proto__ = deprecatedProto;\n\t\tif (oldVnode) oldVnode(vnode);\n\t};\n\n\toptions.diffed = vnode => {\n\t\t// Check if the user passed plain objects as children. Note that we cannot\n\t\t// move this check into `options.vnode` because components can receive\n\t\t// children in any shape they want (e.g.\n\t\t// `<MyJSONFormatter>{{ foo: 123, bar: \"abc\" }}</MyJSONFormatter>`).\n\t\t// Putting this check in `options.diffed` ensures that\n\t\t// `vnode._children` is set and that we only validate the children\n\t\t// that were actually rendered.\n\t\tif (vnode._children) {\n\t\t\tvnode._children.forEach(child => {\n\t\t\t\tif (child && child.type === undefined) {\n\t\t\t\t\t// Remove internal vnode keys that will always be patched\n\t\t\t\t\tdelete child._parent;\n\t\t\t\t\tdelete child._depth;\n\t\t\t\t\tconst keys = Object.keys(child).join(',');\n\t\t\t\t\tthrow new Error(\n\t\t\t\t\t\t`Objects are not valid as a child. Encountered an object with the keys {${keys}}.` +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\thooksAllowed = false;\n\n\t\tif (oldDiffed) oldDiffed(vnode);\n\n\t\tif (vnode._children != null) {\n\t\t\tconst keys = [];\n\t\t\tfor (let i = 0; i < vnode._children.length; i++) {\n\t\t\t\tconst child = vnode._children[i];\n\t\t\t\tif (!child || child.key == null) continue;\n\n\t\t\t\tconst key = child.key;\n\t\t\t\tif (keys.indexOf(key) !== -1) {\n\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t'Following component has two or more children with the ' +\n\t\t\t\t\t\t\t`same key attribute: \"${key}\". This may cause glitches and misbehavior ` +\n\t\t\t\t\t\t\t'in rendering process. Component: \\n\\n' +\n\t\t\t\t\t\t\tserializeVNode(vnode) +\n\t\t\t\t\t\t\t`\\n\\n${getOwnerStack(vnode)}`\n\t\t\t\t\t);\n\n\t\t\t\t\t// Break early to not spam the console\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tkeys.push(key);\n\t\t\t}\n\t\t}\n\t};\n}\n\nconst setState = Component.prototype.setState;\nComponent.prototype.setState = function(update, callback) {\n\tif (this._vnode == null) {\n\t\t// `this._vnode` will be `null` during componentWillMount. But it\n\t\t// is perfectly valid to call `setState` during cWM. So we\n\t\t// need an additional check to verify that we are dealing with a\n\t\t// call inside constructor.\n\t\tif (this.state == null) {\n\t\t\tconsole.warn(\n\t\t\t\t`Calling \"this.setState\" inside the constructor of a component is a ` +\n\t\t\t\t\t`no-op and might be a bug in your application. Instead, set ` +\n\t\t\t\t\t`\"this.state = {}\" directly.\\n\\n${getOwnerStack(getCurrentVNode())}`\n\t\t\t);\n\t\t}\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.setState\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\n\treturn setState.call(this, update, callback);\n};\n\nconst forceUpdate = Component.prototype.forceUpdate;\nComponent.prototype.forceUpdate = function(callback) {\n\tif (this._vnode == null) {\n\t\tconsole.warn(\n\t\t\t`Calling \"this.forceUpdate\" inside the constructor of a component is a ` +\n\t\t\t\t`no-op and might be a bug in your application.\\n\\n${getOwnerStack(\n\t\t\t\t\tgetCurrentVNode()\n\t\t\t\t)}`\n\t\t);\n\t} else if (this._parentDom == null) {\n\t\tconsole.warn(\n\t\t\t`Can't call \"this.forceUpdate\" on an unmounted component. This is a no-op, ` +\n\t\t\t\t`but it indicates a memory leak in your application. To fix, cancel all ` +\n\t\t\t\t`subscriptions and asynchronous tasks in the componentWillUnmount method.` +\n\t\t\t\t`\\n\\n${getOwnerStack(this._vnode)}`\n\t\t);\n\t}\n\treturn forceUpdate.call(this, callback);\n};\n\n/**\n * Serialize a vnode tree to a string\n * @param {import('./internal').VNode} vnode\n * @returns {string}\n */\nexport function serializeVNode(vnode) {\n\tlet { props } = vnode;\n\tlet name = getDisplayName(vnode);\n\n\tlet attrs = '';\n\tfor (let prop in props) {\n\t\tif (props.hasOwnProperty(prop) && prop !== 'children') {\n\t\t\tlet value = props[prop];\n\n\t\t\t// If it is an object but doesn't have toString(), use Object.toString\n\t\t\tif (typeof value == 'function') {\n\t\t\t\tvalue = `function ${value.displayName || value.name}() {}`;\n\t\t\t}\n\n\t\t\tvalue =\n\t\t\t\tObject(value) === value && !value.toString\n\t\t\t\t\t? Object.prototype.toString.call(value)\n\t\t\t\t\t: value + '';\n\n\t\t\tattrs += ` ${prop}=${JSON.stringify(value)}`;\n\t\t}\n\t}\n\n\tlet children = props.children;\n\treturn `<${name}${attrs}${\n\t\tchildren && children.length ? '>..</' + name + '>' : ' />'\n\t}`;\n}\n","export const ELEMENT_NODE = 1;\nexport const DOCUMENT_NODE = 9;\nexport const DOCUMENT_FRAGMENT_NODE = 11;\n","/**\n * Assign properties from `props` to `obj`\n * @template O, P The obj and props types\n * @param {O} obj The object to copy properties to\n * @param {P} props The object to copy properties from\n * @returns {O & P}\n */\nexport function assign(obj, props) {\n\tfor (let i in props) obj[i] = props[i];\n\treturn /** @type {O & P} */ (obj);\n}\n"],"names":["loggedTypeFailures","getDisplayName","vnode","type","Fragment","displayName","name","renderStack","ownerStack","getCurrentVNode","length","hasBabelPlugin","isPossibleOwner","getOwnerStack","stack","next","push","reduce","acc","owner","source","__source","fileName","lineNumber","console","warn","isWeakMapSupported","WeakMap","setState","Component","prototype","update","callback","this","state","call","forceUpdate","serializeVNode","props","attrs","prop","hasOwnProperty","value","Object","toString","JSON","stringify","children","oldDiff","options","oldDiffed","diffed","oldRoot","oldVNode","oldRender","pop","parent","setupComponentStack","hooksAllowed","oldBeforeDiff","oldVnode","oldCatchError","oldHook","warnedComponents","useEffect","useLayoutEffect","lazyPropTypes","deprecations","error","then","promise","Error","setTimeout","e","parentNode","isValid","nodeType","componentName","parentVNode","getClosestDomNodeParent","undefined","Array","isArray","ref","key","propTypes","has","m","lazyVNode","set","values","obj","i","assign","typeSpecs","location","getStack","keys","forEach","typeSpecName","message","checkPropTypes","comp","index","property","get","indexOf","deprecatedAttributes","nodeName","attributes","deprecatedProto","create","newProps","v","__self","__proto__","child","join"],"mappings":"oQAAA,IAEIA,EAAqB,GCMlB,SAASC,EAAeC,UAC1BA,EAAMC,OAASC,WACX,WACwB,mBAAdF,EAAMC,KAChBD,EAAMC,KAAKE,aAAeH,EAAMC,KAAKG,KACb,iBAAdJ,EAAMC,KAChBD,EAAMC,KAGP,QAOR,IAAII,EAAc,GAoBdC,EAAa,GAMV,SAASC,WACRF,EAAYG,OAAS,EAAIH,EAAYA,EAAYG,OAAS,GAAK,KASvE,IAAIC,GAAiB,EAMrB,SAASC,EAAgBV,SACI,mBAAdA,EAAMC,MAAsBD,EAAMC,MAAQC,WAQlD,SAASS,EAAcX,WACvBY,EAAQ,CAACZ,GACXa,EAAOb,EACW,MAAfa,OACND,EAAME,KAAKD,OACXA,EAAOA,aAGDD,EAAMG,OAAO,SAACC,EAAKC,GACzBD,WAAejB,EAAekB,OAExBC,EAASD,EAAME,gBACjBD,EACHF,WAAeE,EAAOE,aAAYF,EAAOG,eAC9BZ,IACXA,GAAiB,EACjBa,QAAQC,KACP,mLAIMP,EAA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EAAK,WAAY,kBAC3BoF,WAAYpF,EAAK,aAAc,mBAC/BsB,SAAUtB,EAAK,WAAY,6BAGtBqF,EAAkBnE,OAAOoE,OAAO,GAAIJ,GAE1C1D,UAAQ/C,MAAQ,SAAAA,OACToC,EAAQpC,EAAMoC,SAEJ,OAAfpC,EAAMC,MACG,MAATmC,IACC,aAAcA,GAAS,WAAYA,GACnC,KACK0E,EAAY9G,EAAMoC,MAAQ,OAC3B,IAAIsD,KAAKtD,EAAO,KACd2E,EAAI3E,EAAMsD,GACN,aAANA,EAAkB1F,EAAMmB,SAAW4F,EACxB,WAANrB,EAAgB1F,EAAMgH,OAASD,EACnCD,EAASpB,GAAKqB,GAKrB/G,EAAMiH,UAAYL,EACdlD,GAAUA,EAAS1D,IAGxB+C,UAAQE,OAAS,SAAAjD,MAQZA,OACHA,MAAgBgG,QAAQ,SAAAkB,MACnBA,QAAwBpC,IAAfoC,EAAMjH,KAAoB,QAE/BiH,YACAA,UACDnB,EAAOtD,OAAOsD,KAAKmB,GAAOC,KAAK,WAC/B,IAAI9C,MACT,0EAA0E0B,WAClEpF,EAAcX,OAM1BwD,GAAe,EAEXR,GAAWA,EAAUhD,GAEF,MAAnBA,cACG+F,EAAO,GACJL,EAAI,EAAGA,EAAI1F,MAAgBQ,OAAQkF,IAAK,KAC1CwB,EAAQlH,MAAgB0F,MACzBwB,GAAsB,MAAbA,EAAMhC,SAEdA,EAAMgC,EAAMhC,QACS,IAAvBa,EAAKS,QAAQtB,GAAa,CAC7B5D,QAAQ4C,MACP,8EACyBgB,qFAExB/C,EAAenC,UACRW,EAAcX,UAOxB+F,EAAKjF,KAAKoE,6BF9VP,WACNpF,EAAqB"}
@@ -1,2 +1,2 @@
1
- var n=require("preact");"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.14",n.options,{Fragment:n.Fragment,Component:n.Component}),exports.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e};
1
+ var n=require("preact");"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.15",n.options,{Fragment:n.Fragment,Component:n.Component}),exports.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e};
2
2
  //# sourceMappingURL=devtools.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.14', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n","import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component","value","name"],"mappings":"wBAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWC,UAAS,CAC3DC,SAAAA,WACAC,UAAAA,kCCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}
1
+ {"version":3,"file":"devtools.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.15', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n","import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component","value","name"],"mappings":"wBAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWC,UAAS,CAC3DC,SAAAA,WACAC,UAAAA,kCCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}
@@ -1,2 +1,2 @@
1
- import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.14",n,{Fragment:o,Component:e});export{t as addHookName};
1
+ import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.15",n,{Fragment:o,Component:e});export{t as addHookName};
2
2
  //# sourceMappingURL=devtools.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.module.js","sources":["../src/devtools.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.4.1', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component"],"mappings":"8DAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,SAAUC,EAAS,CAC1DC,SAAAA,EACAC,UAAAA"}
1
+ {"version":3,"file":"devtools.mjs","sources":["../src/index.js","../src/devtools.js"],"sourcesContent":["import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n","import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.13', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["addHookName","value","name","options","window","__PREACT_DEVTOOLS__","attachPreact","Fragment","Component"],"mappings":"uEASgBA,EAAYC,EAAOC,GAIlC,OAHIC,OACHA,MAAqBD,GAEfD,ECVc,oBAAVG,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWH,EAAS,CAC3DI,SAAAA,EACAC,UAAAA"}
@@ -1,2 +1,2 @@
1
- import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.14",n,{Fragment:o,Component:e});export{t as addHookName};
1
+ import{options as n,Fragment as o,Component as e}from"preact";function t(o,e){return n.__a&&n.__a(e),o}"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.15",n,{Fragment:o,Component:e});export{t as addHookName};
2
2
  //# sourceMappingURL=devtools.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.module.js","sources":["../src/index.js","../src/devtools.js"],"sourcesContent":["import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n","import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.14', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["addHookName","value","name","options","window","__PREACT_DEVTOOLS__","attachPreact","Fragment","Component"],"mappings":"8DASO,SAASA,EAAYC,EAAOC,UAC9BC,OACHA,MAAqBD,GAEfD,ECVc,oBAAVG,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWH,EAAS,CAC3DI,SAAAA,EACAC,UAAAA"}
1
+ {"version":3,"file":"devtools.module.js","sources":["../src/index.js","../src/devtools.js"],"sourcesContent":["import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n","import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.15', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["addHookName","value","name","options","window","__PREACT_DEVTOOLS__","attachPreact","Fragment","Component"],"mappings":"8DASO,SAASA,EAAYC,EAAOC,UAC9BC,OACHA,MAAqBD,GAEfD,ECVc,oBAAVG,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWH,EAAS,CAC3DI,SAAAA,EACAC,UAAAA"}
@@ -1,2 +1,2 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],n):n(e.preactDevtools={},e.preact)}(this,function(e,n){"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.14",n.options,{Fragment:n.Fragment,Component:n.Component}),e.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}});
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("preact")):"function"==typeof define&&define.amd?define(["exports","preact"],n):n(e.preactDevtools={},e.preact)}(this,function(e,n){"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.5.15",n.options,{Fragment:n.Fragment,Component:n.Component}),e.addHookName=function(e,o){return n.options.__a&&n.options.__a(o),e}});
2
2
  //# sourceMappingURL=devtools.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"devtools.umd.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.14', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n","import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component","value","name"],"mappings":"0NAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWC,UAAS,CAC3DC,SAAAA,WACAC,UAAAA,4BCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}
1
+ {"version":3,"file":"devtools.umd.js","sources":["../src/devtools.js","../src/index.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.5.15', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n","import { options } from 'preact';\nimport { initDevTools } from './devtools';\n\ninitDevTools();\n\n/**\n * Display a custom label for a custom hook for the devtools panel\n * @type {<T>(value: T, name: string) => T}\n */\nexport function addHookName(value, name) {\n\tif (options._addHookName) {\n\t\toptions._addHookName(name);\n\t}\n\treturn value;\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component","value","name"],"mappings":"0NAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,UAAWC,UAAS,CAC3DC,SAAAA,WACAC,UAAAA,4BCGI,SAAqBC,EAAOC,UAC9BJ,eACHA,cAAqBI,GAEfD"}
@@ -2,7 +2,7 @@ import { options, Fragment, Component } from 'preact';
2
2
 
3
3
  export function initDevTools() {
4
4
  if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {
5
- window.__PREACT_DEVTOOLS__.attachPreact('10.5.14', options, {
5
+ window.__PREACT_DEVTOOLS__.attachPreact('10.5.15', options, {
6
6
  Fragment,
7
7
  Component
8
8
  });