@redhat-cloud-services/frontend-components-config-utilities 2.0.0-beta.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/federated-modules.js +4 -2
  2. package/package.json +1 -1
  3. package/repos/insights-chrome-build/58231b16fdee45a03a4ee3cf94a9f2c3 +3 -6
  4. package/repos/insights-chrome-build/app.info.json +5 -5
  5. package/repos/insights-chrome-build/index.html +4 -4
  6. package/repos/insights-chrome-build/js/79c835ddc356c3ef.woff +0 -0
  7. package/repos/insights-chrome-build/js/8f3e80eba644e3ec.svg +33 -0
  8. package/repos/insights-chrome-build/js/{_e6c7-_c8e2-_e6f2-_f5f0-_baa3-_f5b3-_9609-_7327-_e64b-_1dc3-_5da5-_cf22-_9531-_be8c-_50cd-_d0-cdab65.c1dc7ccd468c8c55255f.js → _c74b-_e0c3-_9cf0-_3467-_8add-_2900-_a7bc-_70d9-_eea3-_8afc-_d73e-_1a3c-_2385-_85ca-_5c4f-_0f-35898c0.b3f9836f62184986.js} +95 -95
  9. package/repos/insights-chrome-build/js/_c74b-_e0c3-_9cf0-_3467-_8add-_2900-_a7bc-_70d9-_eea3-_8afc-_d73e-_1a3c-_2385-_85ca-_5c4f-_0f-35898c1.b3f9836f62184986.js +943 -0
  10. package/repos/insights-chrome-build/js/ajs-destination.b3f9836f62184986.js +594 -0
  11. package/repos/insights-chrome-build/js/{auto-track.c1dc7ccd468c8c55255f.js → auto-track.b3f9836f62184986.js} +3 -3
  12. package/repos/insights-chrome-build/js/cb827f53cc6d6dcf.woff2 +0 -0
  13. package/repos/insights-chrome-build/js/{chrome.c1dc7ccd468c8c55255f.js → chrome-root.b3f9836f62184986.js} +10486 -90
  14. package/repos/insights-chrome-build/js/{chrome-root.c1dc7ccd468c8c55255f.js → chrome.b3f9836f62184986.js} +112 -102
  15. package/repos/insights-chrome-build/js/fed-mods.json +7 -10
  16. package/repos/insights-chrome-build/js/{main.c1dc7ccd468c8c55255f.css → main.b3f9836f62184986.css} +841 -1094
  17. package/repos/insights-chrome-build/js/node_modules_hoist-non-react-statics_dist_hoist-non-react-statics_cjs_js.b3f9836f62184986.js +323 -0
  18. package/repos/insights-chrome-build/js/node_modules_lodash_isEqual_js.b3f9836f62184986.js +48 -0
  19. package/repos/insights-chrome-build/js/{node_modules_patternfly_react-icons_dist_js_icons_bars-icon_js-node_modules_patternfly_react--73ba53.c1dc7ccd468c8c55255f.js → node_modules_patternfly_react-icons_dist_js_icons_bars-icon_js-node_modules_patternfly_react--0a3495.b3f9836f62184986.js} +91 -7
  20. package/repos/insights-chrome-build/js/{queryString.c1dc7ccd468c8c55255f.js → queryString.b3f9836f62184986.js} +49 -5
  21. package/repos/insights-chrome-build/js/quick-start.b3f9836f62184986.js +47 -0
  22. package/repos/insights-chrome-build/js/{schemaFilter.c1dc7ccd468c8c55255f.js → schemaFilter.b3f9836f62184986.js} +4 -2
  23. package/repos/insights-chrome-build/js/src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.b3f9836f62184986.css +27041 -0
  24. package/repos/insights-chrome-build/js/src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.b3f9836f62184986.js +20468 -0
  25. package/repos/insights-chrome-build/js/src_components_Debugger_index_ts.b3f9836f62184986.css +52 -0
  26. package/repos/insights-chrome-build/js/src_components_Debugger_index_ts.b3f9836f62184986.js +512 -0
  27. package/repos/insights-chrome-build/js/src_components_FavoriteServices_EmptyState_tsx-src_hooks_useFavoritedServices_ts.b3f9836f62184986.css +8664 -0
  28. package/repos/insights-chrome-build/js/src_components_FavoriteServices_EmptyState_tsx-src_hooks_useFavoritedServices_ts.b3f9836f62184986.js +5098 -0
  29. package/repos/insights-chrome-build/js/src_components_FavoriteServices_LandingNavFavorites_tsx-src_utils_common_ts.b3f9836f62184986.css +8662 -0
  30. package/repos/insights-chrome-build/js/src_components_FavoriteServices_LandingNavFavorites_tsx-src_utils_common_ts.b3f9836f62184986.js +898 -0
  31. package/repos/insights-chrome-build/js/src_components_NotEntitledModal_index_tsx.b3f9836f62184986.css +30 -0
  32. package/repos/insights-chrome-build/js/src_components_NotEntitledModal_index_tsx.b3f9836f62184986.js +237 -0
  33. package/repos/insights-chrome-build/js/src_components_QuickstartsCatalogRoute_index_ts.b3f9836f62184986.js +106 -0
  34. package/repos/insights-chrome-build/js/{src_js_App_Stratosphere_ProductSelection_tsx.c1dc7ccd468c8c55255f.css → src_components_Stratosphere_ProductSelection_tsx.b3f9836f62184986.css} +105 -1375
  35. package/repos/insights-chrome-build/js/src_components_Stratosphere_ProductSelection_tsx.b3f9836f62184986.js +335 -0
  36. package/repos/insights-chrome-build/js/src_moduleOverrides_chart-utils-override_js-src_pdf_DownloadButton_tsx-webpack_sharing_consum-3a44a6.b3f9836f62184986.js +91 -0
  37. package/repos/insights-chrome-build/js/{ajs-destination.c1dc7ccd468c8c55255f.js → tsub-middleware.b3f9836f62184986.js} +800 -820
  38. package/repos/insights-chrome-build/js/vendors-node_modules_buffer_index_js-node_modules_lodash__baseFlatten_js-node_modules_lodash_-1de864.b3f9836f62184986.js +2552 -0
  39. package/repos/insights-chrome-build/js/vendors-node_modules_hoist-non-react-statics_dist_hoist-non-react-statics_cjs_js-node_modules-c053fb.b3f9836f62184986.js +1761 -0
  40. package/repos/insights-chrome-build/js/vendors-node_modules_inherits_inherits_browser_js-node_modules_lodash__baseMerge_js-node_modu-5ed1a1.b3f9836f62184986.js +1113 -0
  41. package/repos/insights-chrome-build/js/{vendors-node_modules_base64-js_index_js-node_modules_lodash__baseFlatten_js-node_modules_loda-c4069d.c1dc7ccd468c8c55255f.js → vendors-node_modules_lodash__baseForOwn_js-node_modules_lodash__baseIteratee_js-node_modules_-167437.b3f9836f62184986.js} +1 -425
  42. package/repos/insights-chrome-build/js/vendors-node_modules_openshift_dynamic-plugin-sdk_dist_index_js.b3f9836f62184986.js +17197 -0
  43. package/repos/insights-chrome-build/js/{vendors-node_modules_patternfly_quickstarts_dist_index_es_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_patternfly_quickstarts_dist_index_es_js.b3f9836f62184986.js} +220 -242
  44. package/repos/insights-chrome-build/js/{vendors-node_modules_redhat-cloud-services_frontend-components-pdf-generator_dist_esm_index_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_patternfly_react-charts_dist_esm_components_ChartUtils_chart-theme_js-no-998b15.b3f9836f62184986.js} +138718 -121207
  45. package/repos/insights-chrome-build/js/{vendors-node_modules_patternfly_react-core_dist_esm_components_Spinner_Spinner_js-node_module-1e699f.c1dc7ccd468c8c55255f.js → vendors-node_modules_patternfly_react-core_dist_esm_components_Button_Button_js-node_modules_-6763c7.b3f9836f62184986.js} +2130 -266
  46. package/repos/insights-chrome-build/js/{vendors-node_modules_patternfly_react-core_dist_esm_index_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_patternfly_react-core_dist_esm_index_js.b3f9836f62184986.js} +3266 -3190
  47. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-core_next_components_Select_Select_js-node_modules_patt-da466d.b3f9836f62184986.js +4946 -0
  48. package/repos/insights-chrome-build/js/{vendors-node_modules_patternfly_react-icons_dist_esm_icons_external-link-alt-icon_js-node_mod-b94988.c1dc7ccd468c8c55255f.js → vendors-node_modules_patternfly_react-icons_dist_esm_icons_bell-slash-icon_js-node_modules_pa-6de3ff.b3f9836f62184986.js} +66729 -43554
  49. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-icons_dist_esm_icons_star-icon_js-node_modules_axios_in-5a9fd5.b3f9836f62184986.js +2881 -0
  50. package/repos/insights-chrome-build/js/{vendors-node_modules_prop-types_index_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_prop-types_index_js.b3f9836f62184986.js} +0 -208
  51. package/repos/insights-chrome-build/js/{vendors-node_modules_react-redux_es_index_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_react-redux_es_index_js.b3f9836f62184986.js} +1131 -955
  52. package/repos/insights-chrome-build/js/vendors-node_modules_react-router-dom_dist_index_js.b3f9836f62184986.js +6691 -0
  53. package/repos/insights-chrome-build/js/{vendors-node_modules_classnames_index_js-node_modules_react_jsx-runtime_js-node_modules_babel-163bf5.c1dc7ccd468c8c55255f.js → vendors-node_modules_react_jsx-runtime_js.b3f9836f62184986.js} +3 -164
  54. package/repos/insights-chrome-build/js/vendors-node_modules_redhat-cloud-services_chrome_esm_index_js.b3f9836f62184986.js +708 -0
  55. package/repos/insights-chrome-build/js/vendors-node_modules_redhat-cloud-services_frontend-components-utilities_esm_interceptors_int-b5fffe.b3f9836f62184986.js +21636 -0
  56. package/repos/insights-chrome-build/js/vendors-node_modules_scalprum_core_dist_esm_index_js.b3f9836f62184986.js +363 -0
  57. package/repos/insights-chrome-build/js/{vendors-node_modules_scalprum_react-core_dist_esm_index_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_scalprum_react-core_dist_esm_index_js.b3f9836f62184986.js} +258 -442
  58. package/repos/insights-chrome-build/js/{vendors-node_modules_tslib_tslib_es6_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_tslib_tslib_es6_js.b3f9836f62184986.js} +16 -16
  59. package/repos/insights-chrome-build/js/{vendors-node_modules_unleash_proxy-client-react_dist_index_browser_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_unleash_proxy-client-react_dist_index_browser_js.b3f9836f62184986.js} +174 -123
  60. package/repos/insights-chrome-build/js/0140846175072d73db39.woff +0 -0
  61. package/repos/insights-chrome-build/js/e888fa788db9794c334f.woff2 +0 -0
  62. package/repos/insights-chrome-build/js/middleware.c1dc7ccd468c8c55255f.js +0 -138
  63. package/repos/insights-chrome-build/js/node_modules_hoist-non-react-statics_dist_hoist-non-react-statics_cjs_js-node_modules_babel_r-4097d5.c1dc7ccd468c8c55255f.js +0 -195
  64. package/repos/insights-chrome-build/js/quick-start.c1dc7ccd468c8c55255f.js +0 -33
  65. package/repos/insights-chrome-build/js/src_js_App_Routes_QuickstartsCatalogRoute_js.c1dc7ccd468c8c55255f.js +0 -79
  66. package/repos/insights-chrome-build/js/src_js_App_Sidenav_LandingNav_js.c1dc7ccd468c8c55255f.css +0 -17
  67. package/repos/insights-chrome-build/js/src_js_App_Sidenav_LandingNav_js.c1dc7ccd468c8c55255f.js +0 -129
  68. package/repos/insights-chrome-build/js/src_js_App_Sidenav_Navigation_componentMapper_js.c1dc7ccd468c8c55255f.js +0 -750
  69. package/repos/insights-chrome-build/js/src_js_App_Sidenav_Navigation_index_js.c1dc7ccd468c8c55255f.js +0 -416
  70. package/repos/insights-chrome-build/js/src_js_App_Stratosphere_ProductSelection_tsx.c1dc7ccd468c8c55255f.js +0 -283
  71. package/repos/insights-chrome-build/js/src_js_bootstrap_js-src_js_unfetch_index_js-node_modules_redhat-cloud-services_frontend-compo-d86d1e.c1dc7ccd468c8c55255f.css +0 -921
  72. package/repos/insights-chrome-build/js/src_js_bootstrap_js-src_js_unfetch_index_js-node_modules_redhat-cloud-services_frontend-compo-d86d1e.c1dc7ccd468c8c55255f.js +0 -8466
  73. package/repos/insights-chrome-build/js/src_js_inventory_modules_AppInfo_js.c1dc7ccd468c8c55255f.js +0 -182
  74. package/repos/insights-chrome-build/js/src_js_inventory_modules_DetailWrapper_js.c1dc7ccd468c8c55255f.js +0 -182
  75. package/repos/insights-chrome-build/js/src_js_inventory_modules_InventoryDetailHead_js.c1dc7ccd468c8c55255f.js +0 -182
  76. package/repos/insights-chrome-build/js/src_js_inventory_modules_InventoryDetail_js.c1dc7ccd468c8c55255f.js +0 -182
  77. package/repos/insights-chrome-build/js/src_js_inventory_modules_InventoryTable_js.c1dc7ccd468c8c55255f.js +0 -182
  78. package/repos/insights-chrome-build/js/src_js_inventory_modules_TagWithDialog_js.c1dc7ccd468c8c55255f.js +0 -182
  79. package/repos/insights-chrome-build/js/src_js_jwt_insights_offline_ts-src_js_jwt_jwt_ts.c1dc7ccd468c8c55255f.js +0 -1589
  80. package/repos/insights-chrome-build/js/src_js_jwt_modules_useChromeAuth_ts.c1dc7ccd468c8c55255f.js +0 -64
  81. package/repos/insights-chrome-build/js/src_js_overrides_chart-utils-override_js-src_js_pdf_DownloadButton_js-webpack_sharing_consume-5c7286.c1dc7ccd468c8c55255f.js +0 -119
  82. package/repos/insights-chrome-build/js/vendors-node_modules_babel_runtime_regenerator_index_js-node_modules_buffer_index_js-node_mod-aceb88.c1dc7ccd468c8c55255f.js +0 -5787
  83. package/repos/insights-chrome-build/js/vendors-node_modules_history_esm_history_js.c1dc7ccd468c8c55255f.js +0 -1148
  84. package/repos/insights-chrome-build/js/vendors-node_modules_patternfly_react-core_dist_esm_components_Button_Button_js-node_modules_-6fa0b5.c1dc7ccd468c8c55255f.js +0 -1346
  85. package/repos/insights-chrome-build/js/vendors-node_modules_react-router-dom_esm_react-router-dom_js.c1dc7ccd468c8c55255f.js +0 -360
  86. package/repos/insights-chrome-build/js/vendors-node_modules_react-router_esm_react-router_js.c1dc7ccd468c8c55255f.js +0 -1466
  87. package/repos/insights-chrome-build/js/vendors-node_modules_redhat-cloud-services_entitlements-client_dist_index_js-node_modules_red-0a1887.c1dc7ccd468c8c55255f.js +0 -27710
  88. /package/repos/insights-chrome-build/js/{4e58e730f447f9d6a422.woff2 → 00e10699d4604274.woff2} +0 -0
  89. /package/repos/insights-chrome-build/js/{54b2e33870ba270ba774.woff2 → 03be9971fdd08ef3.woff2} +0 -0
  90. /package/repos/insights-chrome-build/js/{ab4371a522c3fce8ad2d.woff2 → 05294d67f8e33aab.woff2} +0 -0
  91. /package/repos/insights-chrome-build/js/{60cc25d4be2d99536ede.woff2 → 091b27e83c831713.woff2} +0 -0
  92. /package/repos/insights-chrome-build/js/{164a0ab4c909b911c99b.woff → 0d54864d782470c6.woff} +0 -0
  93. /package/repos/insights-chrome-build/js/{65deba23a8337b21a451.woff2 → 0d5f5f4e3bbf47e1.woff2} +0 -0
  94. /package/repos/insights-chrome-build/js/{732b5ddbe8d56f5462b6.woff → 1039d3d8000f2c4b.woff} +0 -0
  95. /package/repos/insights-chrome-build/js/{246cf166b6945bf1c584.woff2 → 13f6558f31b2ee0f.woff2} +0 -0
  96. /package/repos/insights-chrome-build/js/{d6b6f0c7a2af826d139d.woff → 1412957e204a8a1a.woff} +0 -0
  97. /package/repos/insights-chrome-build/js/{0239b22511e2cbe0741a.woff → 17802e9fb8c2dd3c.woff} +0 -0
  98. /package/repos/insights-chrome-build/js/{23fc486b36786bafb3d3.woff → 1be1bd18c67d1ac8.woff} +0 -0
  99. /package/repos/insights-chrome-build/js/{cf06a52fa81e76cc6b01.woff2 → 26409b4397ab88cc.woff2} +0 -0
  100. /package/repos/insights-chrome-build/js/{59058fe454d37a189fb9.woff2 → 278473d290fcbf3b.woff2} +0 -0
  101. /package/repos/insights-chrome-build/js/{549231141115a61fa57d.woff → 2a96d5b208c56fa6.woff} +0 -0
  102. /package/repos/insights-chrome-build/js/{269ca6c83388f975ccfa.woff2 → 2baac3a5d7ab7a15.woff2} +0 -0
  103. /package/repos/insights-chrome-build/js/{ac4ae66cc059959cf8b7.woff → 316d3d41de174f24.woff} +0 -0
  104. /package/repos/insights-chrome-build/js/{323f30b3399fdc516b30.woff2 → 3239d74dcb174610.woff2} +0 -0
  105. /package/repos/insights-chrome-build/js/{1904b4e1c18b4fc19778.woff → 326f107b61d32769.woff} +0 -0
  106. /package/repos/insights-chrome-build/js/{69bf841bb989a0010972.woff2 → 49ee635c956449ea.woff2} +0 -0
  107. /package/repos/insights-chrome-build/js/{e693bff1704e699eb7e2.woff2 → 4ace320f5eaa7ee9.woff2} +0 -0
  108. /package/repos/insights-chrome-build/js/{44d0c66e3d5040be8378.woff2 → 4b0d8eeb01c2f27e.woff2} +0 -0
  109. /package/repos/insights-chrome-build/js/{8192be77a1809074aa20.svg → 4df2ca3d94d759b3.svg} +0 -0
  110. /package/repos/insights-chrome-build/js/{4a43a00f1c0c63f396ee.woff2 → 52f482efb5487bba.woff2} +0 -0
  111. /package/repos/insights-chrome-build/js/{9db3d5976ae23546bbec.woff2 → 64b9a14b3398824f.woff2} +0 -0
  112. /package/repos/insights-chrome-build/js/{95fdf61ffc45f12737c2.woff2 → 66309a34eac8b284.woff2} +0 -0
  113. /package/repos/insights-chrome-build/js/{7150021df2ae6bcf6c17.woff2 → 6e30b223886d1eef.woff2} +0 -0
  114. /package/repos/insights-chrome-build/js/{9abd7afa35218a435d29.woff2 → 6fb4e4e104bb886f.woff2} +0 -0
  115. /package/repos/insights-chrome-build/js/{7799d9401910e36d7bb2.woff → 703c721f27900006.woff} +0 -0
  116. /package/repos/insights-chrome-build/js/{e7bea4af7086ce0144fc.woff → 7a0809e40bf8e79a.woff} +0 -0
  117. /package/repos/insights-chrome-build/js/{09bac349bc9aa9b72bbe.woff2 → 7a9fb47c5b35e50d.woff2} +0 -0
  118. /package/repos/insights-chrome-build/js/{77929aa7a8bd4b667229.woff → 7bb3ddb0583cc7a5.woff} +0 -0
  119. /package/repos/insights-chrome-build/js/{3cd11726d843ff40c40b.woff → 7bf300b28414f3ad.woff} +0 -0
  120. /package/repos/insights-chrome-build/js/{e3438b1458a26c814ae6.woff2 → 7d9b027229967149.woff2} +0 -0
  121. /package/repos/insights-chrome-build/js/{e9d4a1e9285e4454ef7e.woff → 81245ab8c867ea09.woff} +0 -0
  122. /package/repos/insights-chrome-build/js/{800277ea3e98b616b60f.woff → 830dcb2cc707ae4c.woff} +0 -0
  123. /package/repos/insights-chrome-build/js/{c0276d79b017a9c2476b.woff → 835112a9ba0d676e.woff} +0 -0
  124. /package/repos/insights-chrome-build/js/{7b7bb91c0af148738090.woff2 → 8f765508913b945e.woff2} +0 -0
  125. /package/repos/insights-chrome-build/js/{817d3df17057373e2c46.woff → 91bbac2b6e0eb739.woff} +0 -0
  126. /package/repos/insights-chrome-build/js/{89a09f63411d174b18ea.woff2 → 96971d99ef5f2ef7.woff2} +0 -0
  127. /package/repos/insights-chrome-build/js/{8d723ad7cfca2dfffacb.woff → a14c79bac597c758.woff} +0 -0
  128. /package/repos/insights-chrome-build/js/{c2b7c03209f0d3558e85.woff2 → a86c2bca47a21ff0.woff2} +0 -0
  129. /package/repos/insights-chrome-build/js/{db4223ab0faaec898da7.woff → ad4d1e278d4d13cb.woff} +0 -0
  130. /package/repos/insights-chrome-build/js/{2c5bc263ad288d815bd3.woff2 → b0ebda5f4f12f761.woff2} +0 -0
  131. /package/repos/insights-chrome-build/js/{675eb11fb9e055cea6a4.woff2 → b97a3321aaf7e87a.woff2} +0 -0
  132. /package/repos/insights-chrome-build/js/{11855d3f3f99709dfac5.woff2 → ba04b02b7da08f3d.woff2} +0 -0
  133. /package/repos/insights-chrome-build/js/{99464515aba730eab16c.woff2 → bb85876a67d3e7e7.woff2} +0 -0
  134. /package/repos/insights-chrome-build/js/{8aae586c8c4d72be50c1.woff → bbe18aee9c88166d.woff} +0 -0
  135. /package/repos/insights-chrome-build/js/{190776b0696119b93c71.woff2 → c3ab7be4146884a3.woff2} +0 -0
  136. /package/repos/insights-chrome-build/js/{bc0502ffc24dc33b8c5a.woff → c49edc34d14553e4.woff} +0 -0
  137. /package/repos/insights-chrome-build/js/{3278ae4a3a97d92b639c.woff2 → c8b06bb52b20081e.woff2} +0 -0
  138. /package/repos/insights-chrome-build/js/{ac78b4f2e64edfb5859a.woff → c99e50723fcf0166.woff} +0 -0
  139. /package/repos/insights-chrome-build/js/{0227c8bb038eaf0264f7.woff2 → cd1824ff99b9ef33.woff2} +0 -0
  140. /package/repos/insights-chrome-build/js/{9ed5a0180961e3930d44.woff2 → ce63a8f6be94c7cd.woff2} +0 -0
  141. /package/repos/insights-chrome-build/js/{8584d6d2426caac44a12.woff2 → d004dc9f8c955767.woff2} +0 -0
  142. /package/repos/insights-chrome-build/js/{06037ca2cf8525d353a1.woff2 → d19c89c249d7f751.woff2} +0 -0
  143. /package/repos/insights-chrome-build/js/{61142d93d0198cb3c160.woff2 → d2a095f5996e5014.woff2} +0 -0
  144. /package/repos/insights-chrome-build/js/{88ade95ac9a035be7168.woff → d2ce043298f5c972.woff} +0 -0
  145. /package/repos/insights-chrome-build/js/{24515e9b56a0ccb45480.woff → d2cf7e795db09bc7.woff} +0 -0
  146. /package/repos/insights-chrome-build/js/{d7d2238f0d64e36cd533.svg → d6083bde9a964ab4.svg} +0 -0
  147. /package/repos/insights-chrome-build/js/{2aa8547fdf2f790c2cb9.woff2 → dd18fb6c0b7048e8.woff2} +0 -0
  148. /package/repos/insights-chrome-build/js/{909a870fdb828007557f.woff2 → df8a52d2494e1e03.woff2} +0 -0
  149. /package/repos/insights-chrome-build/js/{3be6f9a55c75aaa6f25a.woff2 → e5c7a27047a83d24.woff2} +0 -0
  150. /package/repos/insights-chrome-build/js/{f32577e5a5f1d27244a3.woff2 → e693e4f9d9c75499.woff2} +0 -0
  151. /package/repos/insights-chrome-build/js/{35d01efdc213d0af0d00.woff → e8ec1c41a82bd354.woff} +0 -0
  152. /package/repos/insights-chrome-build/js/{81aade5a7b362566b199.woff → f66882bad34e5c9f.woff} +0 -0
  153. /package/repos/insights-chrome-build/js/{47a03d213b0b35080e32.woff → f830d4d01f5e4497.woff} +0 -0
  154. /package/repos/insights-chrome-build/js/{legacyVideos.c1dc7ccd468c8c55255f.js → legacyVideos.b3f9836f62184986.js} +0 -0
  155. /package/repos/insights-chrome-build/js/{remoteMiddleware.c1dc7ccd468c8c55255f.js → remoteMiddleware.b3f9836f62184986.js} +0 -0
  156. /package/repos/insights-chrome-build/js/{vendors-node_modules_lodash__baseIsEqual_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_lodash__baseIsEqual_js.b3f9836f62184986.js} +0 -0
  157. /package/repos/insights-chrome-build/js/{vendors-node_modules_segment_analytics_js-video-plugins_dist_index_umd_js.c1dc7ccd468c8c55255f.js → vendors-node_modules_segment_analytics_js-video-plugins_dist_index_umd_js.b3f9836f62184986.js} +0 -0
@@ -1,119 +1,6 @@
1
1
  "use strict";
2
2
  (self["webpackChunkinsights_chrome"] = self["webpackChunkinsights_chrome"] || []).push([["vendors-node_modules_react-redux_es_index_js"],{
3
3
 
4
- /***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":
5
- /*!**********************************************************************************!*\
6
- !*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
7
- \**********************************************************************************/
8
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
9
-
10
-
11
-
12
- var reactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js");
13
-
14
- /**
15
- * Copyright 2015, Yahoo! Inc.
16
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
17
- */
18
- var REACT_STATICS = {
19
- childContextTypes: true,
20
- contextType: true,
21
- contextTypes: true,
22
- defaultProps: true,
23
- displayName: true,
24
- getDefaultProps: true,
25
- getDerivedStateFromError: true,
26
- getDerivedStateFromProps: true,
27
- mixins: true,
28
- propTypes: true,
29
- type: true
30
- };
31
- var KNOWN_STATICS = {
32
- name: true,
33
- length: true,
34
- prototype: true,
35
- caller: true,
36
- callee: true,
37
- arguments: true,
38
- arity: true
39
- };
40
- var FORWARD_REF_STATICS = {
41
- '$$typeof': true,
42
- render: true,
43
- defaultProps: true,
44
- displayName: true,
45
- propTypes: true
46
- };
47
- var MEMO_STATICS = {
48
- '$$typeof': true,
49
- compare: true,
50
- defaultProps: true,
51
- displayName: true,
52
- propTypes: true,
53
- type: true
54
- };
55
- var TYPE_STATICS = {};
56
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
57
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
58
-
59
- function getStatics(component) {
60
- // React v16.11 and below
61
- if (reactIs.isMemo(component)) {
62
- return MEMO_STATICS;
63
- } // React v16.12 and above
64
-
65
-
66
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
67
- }
68
-
69
- var defineProperty = Object.defineProperty;
70
- var getOwnPropertyNames = Object.getOwnPropertyNames;
71
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
72
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
73
- var getPrototypeOf = Object.getPrototypeOf;
74
- var objectPrototype = Object.prototype;
75
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
76
- if (typeof sourceComponent !== 'string') {
77
- // don't hoist over string (html) components
78
- if (objectPrototype) {
79
- var inheritedComponent = getPrototypeOf(sourceComponent);
80
-
81
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
82
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
83
- }
84
- }
85
-
86
- var keys = getOwnPropertyNames(sourceComponent);
87
-
88
- if (getOwnPropertySymbols) {
89
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
90
- }
91
-
92
- var targetStatics = getStatics(targetComponent);
93
- var sourceStatics = getStatics(sourceComponent);
94
-
95
- for (var i = 0; i < keys.length; ++i) {
96
- var key = keys[i];
97
-
98
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
99
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
100
-
101
- try {
102
- // Avoid failures from read-only properties
103
- defineProperty(targetComponent, key, descriptor);
104
- } catch (e) {}
105
- }
106
- }
107
- }
108
-
109
- return targetComponent;
110
- }
111
-
112
- module.exports = hoistNonReactStatics;
113
-
114
-
115
- /***/ }),
116
-
117
4
  /***/ "./node_modules/react-redux/es/components/Context.js":
118
5
  /*!***********************************************************!*\
119
6
  !*** ./node_modules/react-redux/es/components/Context.js ***!
@@ -125,10 +12,10 @@ __webpack_require__.r(__webpack_exports__);
125
12
  /* harmony export */ "ReactReduxContext": () => (/* binding */ ReactReduxContext),
126
13
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
127
14
  /* harmony export */ });
128
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
15
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
129
16
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
130
17
 
131
- var ReactReduxContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null);
18
+ const ReactReduxContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
132
19
 
133
20
  if (true) {
134
21
  ReactReduxContext.displayName = 'ReactRedux';
@@ -148,10 +35,8 @@ __webpack_require__.r(__webpack_exports__);
148
35
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
149
36
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
150
37
  /* harmony export */ });
151
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
38
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
152
39
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
153
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js");
154
- /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__);
155
40
  /* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Context */ "./node_modules/react-redux/es/components/Context.js");
156
41
  /* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/Subscription */ "./node_modules/react-redux/es/utils/Subscription.js");
157
42
  /* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js");
@@ -160,92 +45,104 @@ __webpack_require__.r(__webpack_exports__);
160
45
 
161
46
 
162
47
 
163
-
164
- function Provider(_ref) {
165
- var store = _ref.store,
166
- context = _ref.context,
167
- children = _ref.children;
168
- var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
169
- var subscription = (0,_utils_Subscription__WEBPACK_IMPORTED_MODULE_2__.createSubscription)(store);
170
- subscription.onStateChange = subscription.notifyNestedSubs;
48
+ function Provider({
49
+ store,
50
+ context,
51
+ children,
52
+ serverState
53
+ }) {
54
+ const contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {
55
+ const subscription = (0,_utils_Subscription__WEBPACK_IMPORTED_MODULE_2__.createSubscription)(store);
171
56
  return {
172
- store: store,
173
- subscription: subscription
57
+ store,
58
+ subscription,
59
+ getServerState: serverState ? () => serverState : undefined
174
60
  };
175
- }, [store]);
176
- var previousState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
177
- return store.getState();
178
- }, [store]);
179
- (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__.useIsomorphicLayoutEffect)(function () {
180
- var subscription = contextValue.subscription;
61
+ }, [store, serverState]);
62
+ const previousState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => store.getState(), [store]);
63
+ (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__.useIsomorphicLayoutEffect)(() => {
64
+ const {
65
+ subscription
66
+ } = contextValue;
67
+ subscription.onStateChange = subscription.notifyNestedSubs;
181
68
  subscription.trySubscribe();
182
69
 
183
70
  if (previousState !== store.getState()) {
184
71
  subscription.notifyNestedSubs();
185
72
  }
186
73
 
187
- return function () {
74
+ return () => {
188
75
  subscription.tryUnsubscribe();
189
- subscription.onStateChange = null;
76
+ subscription.onStateChange = undefined;
190
77
  };
191
78
  }, [contextValue, previousState]);
192
- var Context = context || _Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext;
79
+ const Context = context || _Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
80
+
193
81
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Context.Provider, {
194
82
  value: contextValue
195
83
  }, children);
196
84
  }
197
85
 
198
- if (true) {
199
- Provider.propTypes = {
200
- store: prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({
201
- subscribe: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func.isRequired),
202
- dispatch: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func.isRequired),
203
- getState: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().func.isRequired)
204
- }),
205
- context: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),
206
- children: (prop_types__WEBPACK_IMPORTED_MODULE_4___default().any)
207
- };
208
- }
209
-
210
86
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Provider);
211
87
 
212
88
  /***/ }),
213
89
 
214
- /***/ "./node_modules/react-redux/es/components/connectAdvanced.js":
215
- /*!*******************************************************************!*\
216
- !*** ./node_modules/react-redux/es/components/connectAdvanced.js ***!
217
- \*******************************************************************/
90
+ /***/ "./node_modules/react-redux/es/components/connect.js":
91
+ /*!***********************************************************!*\
92
+ !*** ./node_modules/react-redux/es/components/connect.js ***!
93
+ \***********************************************************/
218
94
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
219
95
 
220
96
  __webpack_require__.r(__webpack_exports__);
221
97
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
222
- /* harmony export */ "default": () => (/* binding */ connectAdvanced)
98
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
99
+ /* harmony export */ "initializeConnect": () => (/* binding */ initializeConnect)
223
100
  /* harmony export */ });
224
101
  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
225
102
  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
226
103
  /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js");
227
104
  /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2__);
228
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
105
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
229
106
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
230
107
  /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-is */ "./node_modules/react-redux/node_modules/react-is/index.js");
231
- /* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/Subscription */ "./node_modules/react-redux/es/utils/Subscription.js");
232
- /* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js");
233
- /* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Context */ "./node_modules/react-redux/es/components/Context.js");
108
+ /* harmony import */ var _connect_selectorFactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../connect/selectorFactory */ "./node_modules/react-redux/es/connect/selectorFactory.js");
109
+ /* harmony import */ var _connect_mapDispatchToProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../connect/mapDispatchToProps */ "./node_modules/react-redux/es/connect/mapDispatchToProps.js");
110
+ /* harmony import */ var _connect_mapStateToProps__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../connect/mapStateToProps */ "./node_modules/react-redux/es/connect/mapStateToProps.js");
111
+ /* harmony import */ var _connect_mergeProps__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../connect/mergeProps */ "./node_modules/react-redux/es/connect/mergeProps.js");
112
+ /* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/Subscription */ "./node_modules/react-redux/es/utils/Subscription.js");
113
+ /* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js");
114
+ /* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/shallowEqual */ "./node_modules/react-redux/es/utils/shallowEqual.js");
115
+ /* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../utils/warning */ "./node_modules/react-redux/es/utils/warning.js");
116
+ /* harmony import */ var _Context__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Context */ "./node_modules/react-redux/es/components/Context.js");
117
+ /* harmony import */ var _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/useSyncExternalStore */ "./node_modules/react-redux/es/utils/useSyncExternalStore.js");
118
+
119
+
120
+ const _excluded = ["reactReduxForwardedRef"];
121
+
122
+ /* eslint-disable valid-jsdoc, @typescript-eslint/no-unused-vars */
123
+
124
+
125
+
234
126
 
235
127
 
236
- var _excluded = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"],
237
- _excluded2 = ["reactReduxForwardedRef"];
238
128
 
239
129
 
240
130
 
241
131
 
242
132
 
243
- // Define some constant arrays just to avoid re-creating these
244
133
 
245
- var EMPTY_ARRAY = [];
246
- var NO_SUBSCRIPTION_ARRAY = [null, null];
247
134
 
248
- var stringifyComponent = function stringifyComponent(Comp) {
135
+
136
+ let useSyncExternalStore = _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_14__.notInitialized;
137
+ const initializeConnect = fn => {
138
+ useSyncExternalStore = fn;
139
+ }; // Define some constant arrays just to avoid re-creating these
140
+
141
+ const EMPTY_ARRAY = [null, 0];
142
+ const NO_SUBSCRIPTION_ARRAY = [null, null]; // Attempts to stringify whatever not-really-a-component value we were given
143
+ // for logging in an error message
144
+
145
+ const stringifyComponent = Comp => {
249
146
  try {
250
147
  return JSON.stringify(Comp);
251
148
  } catch (err) {
@@ -253,45 +150,47 @@ var stringifyComponent = function stringifyComponent(Comp) {
253
150
  }
254
151
  };
255
152
 
256
- function storeStateUpdatesReducer(state, action) {
257
- var updateCount = state[1];
258
- return [action.payload, updateCount + 1];
259
- }
260
-
153
+ // This is "just" a `useLayoutEffect`, but with two modifications:
154
+ // - we need to fall back to `useEffect` in SSR to avoid annoying warnings
155
+ // - we extract this to a separate function to avoid closing over values
156
+ // and causing memory leaks
261
157
  function useIsomorphicLayoutEffectWithArgs(effectFunc, effectArgs, dependencies) {
262
- (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_6__.useIsomorphicLayoutEffect)(function () {
263
- return effectFunc.apply(void 0, effectArgs);
264
- }, dependencies);
265
- }
158
+ (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__.useIsomorphicLayoutEffect)(() => effectFunc(...effectArgs), dependencies);
159
+ } // Effect callback, extracted: assign the latest props values to refs for later usage
266
160
 
267
- function captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs) {
161
+
162
+ function captureWrapperProps(lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, // actualChildProps: unknown,
163
+ childPropsFromStoreUpdate, notifyNestedSubs) {
268
164
  // We want to capture the wrapper props and child props we used for later comparisons
269
165
  lastWrapperProps.current = wrapperProps;
270
- lastChildProps.current = actualChildProps;
271
166
  renderIsScheduled.current = false; // If the render was from a store update, clear out that reference and cascade the subscriber update
272
167
 
273
168
  if (childPropsFromStoreUpdate.current) {
274
169
  childPropsFromStoreUpdate.current = null;
275
170
  notifyNestedSubs();
276
171
  }
277
- }
172
+ } // Effect callback, extracted: subscribe to the Redux store or nearest connected ancestor,
173
+ // check for updates after dispatched actions, and trigger re-renders.
278
174
 
279
- function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch) {
175
+
176
+ function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, // forceComponentUpdateDispatch: React.Dispatch<any>,
177
+ additionalSubscribeListener) {
280
178
  // If we're not subscribed to the store, nothing to do here
281
- if (!shouldHandleStateChanges) return; // Capture values for checking if and when this component unmounts
179
+ if (!shouldHandleStateChanges) return () => {}; // Capture values for checking if and when this component unmounts
282
180
 
283
- var didUnsubscribe = false;
284
- var lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component
181
+ let didUnsubscribe = false;
182
+ let lastThrownError = null; // We'll run this callback every time a store subscription update propagates to this component
285
183
 
286
- var checkForUpdates = function checkForUpdates() {
287
- if (didUnsubscribe) {
184
+ const checkForUpdates = () => {
185
+ if (didUnsubscribe || !isMounted.current) {
288
186
  // Don't run stale listeners.
289
187
  // Redux doesn't guarantee unsubscriptions happen until next dispatch.
290
188
  return;
291
- }
189
+ } // TODO We're currently calling getState ourselves here, rather than letting `uSES` do it
292
190
 
293
- var latestStoreState = store.getState();
294
- var newChildProps, error;
191
+
192
+ const latestStoreState = store.getState();
193
+ let newChildProps, error;
295
194
 
296
195
  try {
297
196
  // Actually run the selector with the most recent store state and wrapper props
@@ -318,14 +217,10 @@ function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPr
318
217
  // forcing another re-render, which we don't want.
319
218
  lastChildProps.current = newChildProps;
320
219
  childPropsFromStoreUpdate.current = newChildProps;
321
- renderIsScheduled.current = true; // If the child props _did_ change (or we caught an error), this wrapper component needs to re-render
220
+ renderIsScheduled.current = true; // TODO This is hacky and not how `uSES` is meant to be used
221
+ // Trigger the React `useSyncExternalStore` subscriber
322
222
 
323
- forceComponentUpdateDispatch({
324
- type: 'STORE_UPDATED',
325
- payload: {
326
- error: error
327
- }
328
- });
223
+ additionalSubscribeListener();
329
224
  }
330
225
  }; // Actually subscribe to the nearest connected ancestor (or store)
331
226
 
@@ -336,7 +231,7 @@ function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPr
336
231
 
337
232
  checkForUpdates();
338
233
 
339
- var unsubscribeWrapper = function unsubscribeWrapper() {
234
+ const unsubscribeWrapper = () => {
340
235
  didUnsubscribe = true;
341
236
  subscription.tryUnsubscribe();
342
237
  subscription.onStateChange = null;
@@ -352,166 +247,143 @@ function subscribeUpdates(shouldHandleStateChanges, store, subscription, childPr
352
247
  };
353
248
 
354
249
  return unsubscribeWrapper;
355
- }
356
-
357
- var initStateUpdates = function initStateUpdates() {
358
- return [null, 0];
359
- };
250
+ } // Reducer initial state creation for our update reducer
360
251
 
361
- function connectAdvanced(
362
- /*
363
- selectorFactory is a func that is responsible for returning the selector function used to
364
- compute new props from state, props, and dispatch. For example:
365
- export default connectAdvanced((dispatch, options) => (state, props) => ({
366
- thing: state.things[props.thingId],
367
- saveThing: fields => dispatch(actionCreators.saveThing(props.thingId, fields)),
368
- }))(YourComponent)
369
- Access to dispatch is provided to the factory so selectorFactories can bind actionCreators
370
- outside of their selector as an optimization. Options passed to connectAdvanced are passed to
371
- the selectorFactory, along with displayName and WrappedComponent, as the second argument.
372
- Note that selectorFactory is responsible for all caching/memoization of inbound and outbound
373
- props. Do not use connectAdvanced directly without memoizing results between calls to your
374
- selector, otherwise the Connect component will re-render on every state or props change.
375
- */
376
- selectorFactory, // options object:
377
- _ref) {
378
- if (_ref === void 0) {
379
- _ref = {};
380
- }
381
252
 
382
- var _ref2 = _ref,
383
- _ref2$getDisplayName = _ref2.getDisplayName,
384
- getDisplayName = _ref2$getDisplayName === void 0 ? function (name) {
385
- return "ConnectAdvanced(" + name + ")";
386
- } : _ref2$getDisplayName,
387
- _ref2$methodName = _ref2.methodName,
388
- methodName = _ref2$methodName === void 0 ? 'connectAdvanced' : _ref2$methodName,
389
- _ref2$renderCountProp = _ref2.renderCountProp,
390
- renderCountProp = _ref2$renderCountProp === void 0 ? undefined : _ref2$renderCountProp,
391
- _ref2$shouldHandleSta = _ref2.shouldHandleStateChanges,
392
- shouldHandleStateChanges = _ref2$shouldHandleSta === void 0 ? true : _ref2$shouldHandleSta,
393
- _ref2$storeKey = _ref2.storeKey,
394
- storeKey = _ref2$storeKey === void 0 ? 'store' : _ref2$storeKey,
395
- _ref2$withRef = _ref2.withRef,
396
- withRef = _ref2$withRef === void 0 ? false : _ref2$withRef,
397
- _ref2$forwardRef = _ref2.forwardRef,
398
- forwardRef = _ref2$forwardRef === void 0 ? false : _ref2$forwardRef,
399
- _ref2$context = _ref2.context,
400
- context = _ref2$context === void 0 ? _Context__WEBPACK_IMPORTED_MODULE_7__.ReactReduxContext : _ref2$context,
401
- connectOptions = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__.default)(_ref2, _excluded);
253
+ const initStateUpdates = () => EMPTY_ARRAY;
402
254
 
403
- if (true) {
404
- if (renderCountProp !== undefined) {
405
- throw new Error("renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension");
406
- }
255
+ function strictEqual(a, b) {
256
+ return a === b;
257
+ }
258
+ /**
259
+ * Infers the type of props that a connector will inject into a component.
260
+ */
407
261
 
408
- if (withRef) {
409
- throw new Error('withRef is removed. To access the wrapped instance, use a ref on the connected component');
410
- }
411
262
 
412
- var customStoreWarningMessage = 'To use a custom Redux store for specific components, create a custom React context with ' + "React.createContext(), and pass the context object to React Redux's Provider and specific components" + ' like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. ' + 'You may also pass a {context : MyContext} option to connect';
263
+ let hasWarnedAboutDeprecatedPureOption = false;
264
+ /**
265
+ * Connects a React component to a Redux store.
266
+ *
267
+ * - Without arguments, just wraps the component, without changing the behavior / props
268
+ *
269
+ * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
270
+ * is to override ownProps (as stated in the docs), so what remains is everything that's
271
+ * not a state or dispatch prop
272
+ *
273
+ * - When 3rd param is passed, we don't know if ownProps propagate and whether they
274
+ * should be valid component props, because it depends on mergeProps implementation.
275
+ * As such, it is the user's responsibility to extend ownProps interface from state or
276
+ * dispatch props or both when applicable
277
+ *
278
+ * @param mapStateToProps A function that extracts values from state
279
+ * @param mapDispatchToProps Setup for dispatching actions
280
+ * @param mergeProps Optional callback to merge state and dispatch props together
281
+ * @param options Options for configuring the connection
282
+ *
283
+ */
413
284
 
414
- if (storeKey !== 'store') {
415
- throw new Error('storeKey has been removed and does not do anything. ' + customStoreWarningMessage);
285
+ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
286
+ // The `pure` option has been removed, so TS doesn't like us destructuring this to check its existence.
287
+ // @ts-ignore
288
+ pure,
289
+ areStatesEqual = strictEqual,
290
+ areOwnPropsEqual = _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__["default"],
291
+ areStatePropsEqual = _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__["default"],
292
+ areMergedPropsEqual = _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_11__["default"],
293
+ // use React's forwardRef to expose a ref of the wrapped component
294
+ forwardRef = false,
295
+ // the context consumer to use
296
+ context = _Context__WEBPACK_IMPORTED_MODULE_13__.ReactReduxContext
297
+ } = {}) {
298
+ if (true) {
299
+ if (pure !== undefined && !hasWarnedAboutDeprecatedPureOption) {
300
+ hasWarnedAboutDeprecatedPureOption = true;
301
+ (0,_utils_warning__WEBPACK_IMPORTED_MODULE_12__["default"])('The `pure` option has been removed. `connect` is now always a "pure/memoized" component');
416
302
  }
417
303
  }
418
304
 
419
- var Context = context;
420
- return function wrapWithConnect(WrappedComponent) {
305
+ const Context = context;
306
+ const initMapStateToProps = (0,_connect_mapStateToProps__WEBPACK_IMPORTED_MODULE_7__.mapStateToPropsFactory)(mapStateToProps);
307
+ const initMapDispatchToProps = (0,_connect_mapDispatchToProps__WEBPACK_IMPORTED_MODULE_6__.mapDispatchToPropsFactory)(mapDispatchToProps);
308
+ const initMergeProps = (0,_connect_mergeProps__WEBPACK_IMPORTED_MODULE_8__.mergePropsFactory)(mergeProps);
309
+ const shouldHandleStateChanges = Boolean(mapStateToProps);
310
+
311
+ const wrapWithConnect = WrappedComponent => {
421
312
  if ( true && !(0,react_is__WEBPACK_IMPORTED_MODULE_4__.isValidElementType)(WrappedComponent)) {
422
- throw new Error("You must pass a component to the function returned by " + (methodName + ". Instead received " + stringifyComponent(WrappedComponent)));
313
+ throw new Error(`You must pass a component to the function returned by connect. Instead received ${stringifyComponent(WrappedComponent)}`);
423
314
  }
424
315
 
425
- var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
426
- var displayName = getDisplayName(wrappedComponentName);
427
-
428
- var selectorFactoryOptions = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, connectOptions, {
429
- getDisplayName: getDisplayName,
430
- methodName: methodName,
431
- renderCountProp: renderCountProp,
432
- shouldHandleStateChanges: shouldHandleStateChanges,
433
- storeKey: storeKey,
434
- displayName: displayName,
435
- wrappedComponentName: wrappedComponentName,
436
- WrappedComponent: WrappedComponent
437
- });
438
-
439
- var pure = connectOptions.pure;
440
-
441
- function createChildSelector(store) {
442
- return selectorFactory(store.dispatch, selectorFactoryOptions);
443
- } // If we aren't running in "pure" mode, we don't want to memoize values.
444
- // To avoid conditionally calling hooks, we fall back to a tiny wrapper
445
- // that just executes the given callback immediately.
446
-
447
-
448
- var usePureOnlyMemo = pure ? react__WEBPACK_IMPORTED_MODULE_3__.useMemo : function (callback) {
449
- return callback();
316
+ const wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
317
+ const displayName = `Connect(${wrappedComponentName})`;
318
+ const selectorFactoryOptions = {
319
+ shouldHandleStateChanges,
320
+ displayName,
321
+ wrappedComponentName,
322
+ WrappedComponent,
323
+ // @ts-ignore
324
+ initMapStateToProps,
325
+ // @ts-ignore
326
+ initMapDispatchToProps,
327
+ initMergeProps,
328
+ areStatesEqual,
329
+ areStatePropsEqual,
330
+ areOwnPropsEqual,
331
+ areMergedPropsEqual
450
332
  };
451
333
 
452
334
  function ConnectFunction(props) {
453
- var _useMemo = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
335
+ const [propsContext, reactReduxForwardedRef, wrapperProps] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
454
336
  // Distinguish between actual "data" props that were passed to the wrapper component,
455
337
  // and values needed to control behavior (forwarded refs, alternate context instances).
456
338
  // To maintain the wrapperProps object reference, memoize this destructuring.
457
- var reactReduxForwardedRef = props.reactReduxForwardedRef,
458
- wrapperProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__.default)(props, _excluded2);
339
+ const {
340
+ reactReduxForwardedRef
341
+ } = props,
342
+ wrapperProps = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(props, _excluded);
459
343
 
460
344
  return [props.context, reactReduxForwardedRef, wrapperProps];
461
- }, [props]),
462
- propsContext = _useMemo[0],
463
- reactReduxForwardedRef = _useMemo[1],
464
- wrapperProps = _useMemo[2];
465
-
466
- var ContextToUse = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
345
+ }, [props]);
346
+ const ContextToUse = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
467
347
  // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
468
348
  // Memoize the check that determines which context instance we should use.
469
- return propsContext && propsContext.Consumer && (0,react_is__WEBPACK_IMPORTED_MODULE_4__.isContextConsumer)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(propsContext.Consumer, null)) ? propsContext : Context;
349
+ return propsContext && propsContext.Consumer && // @ts-ignore
350
+ (0,react_is__WEBPACK_IMPORTED_MODULE_4__.isContextConsumer)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(propsContext.Consumer, null)) ? propsContext : Context;
470
351
  }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
471
352
 
472
- var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(ContextToUse); // The store _must_ exist as either a prop or in context.
353
+ const contextValue = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(ContextToUse); // The store _must_ exist as either a prop or in context.
473
354
  // We'll check to see if it _looks_ like a Redux store first.
474
355
  // This allows us to pass through a `store` prop that is just a plain value.
475
356
 
476
- var didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch);
477
- var didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store);
357
+ const didStoreComeFromProps = Boolean(props.store) && Boolean(props.store.getState) && Boolean(props.store.dispatch);
358
+ const didStoreComeFromContext = Boolean(contextValue) && Boolean(contextValue.store);
478
359
 
479
360
  if ( true && !didStoreComeFromProps && !didStoreComeFromContext) {
480
- throw new Error("Could not find \"store\" in the context of " + ("\"" + displayName + "\". Either wrap the root component in a <Provider>, ") + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + displayName + " in connect options."));
361
+ throw new Error(`Could not find "store" in the context of ` + `"${displayName}". Either wrap the root component in a <Provider>, ` + `or pass a custom React context provider to <Provider> and the corresponding ` + `React context consumer to ${displayName} in connect options.`);
481
362
  } // Based on the previous check, one of these must be true
482
363
 
483
364
 
484
- var store = didStoreComeFromProps ? props.store : contextValue.store;
485
- var childPropsSelector = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
365
+ const store = didStoreComeFromProps ? props.store : contextValue.store;
366
+ const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;
367
+ const childPropsSelector = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
486
368
  // The child props selector needs the store reference as an input.
487
369
  // Re-create this selector whenever the store changes.
488
- return createChildSelector(store);
370
+ return (0,_connect_selectorFactory__WEBPACK_IMPORTED_MODULE_5__["default"])(store.dispatch, selectorFactoryOptions);
489
371
  }, [store]);
490
-
491
- var _useMemo2 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
372
+ const [subscription, notifyNestedSubs] = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
492
373
  if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component
493
374
  // connected to the store via props shouldn't use subscription from context, or vice versa.
494
375
 
495
- // This Subscription's source should match where store came from: props vs. context. A component
496
- // connected to the store via props shouldn't use subscription from context, or vice versa.
497
- var subscription = (0,_utils_Subscription__WEBPACK_IMPORTED_MODULE_5__.createSubscription)(store, didStoreComeFromProps ? null : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
376
+ const subscription = (0,_utils_Subscription__WEBPACK_IMPORTED_MODULE_9__.createSubscription)(store, didStoreComeFromProps ? undefined : contextValue.subscription); // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
498
377
  // the middle of the notification loop, where `subscription` will then be null. This can
499
378
  // probably be avoided if Subscription's listeners logic is changed to not call listeners
500
379
  // that have been unsubscribed in the middle of the notification loop.
501
380
 
502
- // `notifyNestedSubs` is duplicated to handle the case where the component is unmounted in
503
- // the middle of the notification loop, where `subscription` will then be null. This can
504
- // probably be avoided if Subscription's listeners logic is changed to not call listeners
505
- // that have been unsubscribed in the middle of the notification loop.
506
- var notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription);
381
+ const notifyNestedSubs = subscription.notifyNestedSubs.bind(subscription);
507
382
  return [subscription, notifyNestedSubs];
508
- }, [store, didStoreComeFromProps, contextValue]),
509
- subscription = _useMemo2[0],
510
- notifyNestedSubs = _useMemo2[1]; // Determine what {store, subscription} value should be put into nested context, if necessary,
383
+ }, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,
511
384
  // and memoize that value to avoid unnecessary context updates.
512
385
 
513
-
514
- var overriddenContextValue = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
386
+ const overriddenContextValue = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
515
387
  if (didStoreComeFromProps) {
516
388
  // This component is directly subscribed to a store from props.
517
389
  // We don't want descendants reading from this store - pass down whatever
@@ -521,60 +393,96 @@ _ref) {
521
393
  // connected descendants won't update until after this component is done
522
394
 
523
395
 
524
- return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, contextValue, {
525
- subscription: subscription
396
+ return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, contextValue, {
397
+ subscription
526
398
  });
527
- }, [didStoreComeFromProps, contextValue, subscription]); // We need to force this wrapper component to re-render whenever a Redux store update
528
- // causes a change to the calculated child component props (or we caught an error in mapState)
529
-
530
- var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_3__.useReducer)(storeStateUpdatesReducer, EMPTY_ARRAY, initStateUpdates),
531
- _useReducer$ = _useReducer[0],
532
- previousStateUpdateResult = _useReducer$[0],
533
- forceComponentUpdateDispatch = _useReducer[1]; // Propagate any mapState/mapDispatch errors upwards
534
-
535
-
536
- if (previousStateUpdateResult && previousStateUpdateResult.error) {
537
- throw previousStateUpdateResult.error;
538
- } // Set up refs to coordinate values between the subscription effect and the render logic
539
-
540
-
541
- var lastChildProps = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
542
- var lastWrapperProps = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(wrapperProps);
543
- var childPropsFromStoreUpdate = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
544
- var renderIsScheduled = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
545
- var actualChildProps = usePureOnlyMemo(function () {
546
- // Tricky logic here:
547
- // - This render may have been triggered by a Redux store update that produced new child props
548
- // - However, we may have gotten new wrapper props after that
549
- // If we have new child props, and the same wrapper props, we know we should use the new child props as-is.
550
- // But, if we have new wrapper props, those might change the child props, so we have to recalculate things.
551
- // So, we'll use the child props from store update only if the wrapper props are the same as last time.
552
- if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) {
553
- return childPropsFromStoreUpdate.current;
554
- } // TODO We're reading the store directly in render() here. Bad idea?
555
- // This will likely cause Bad Things (TM) to happen in Concurrent Mode.
556
- // Note that we do this because on renders _not_ caused by store updates, we need the latest store state
557
- // to determine what the child props should be.
558
-
559
-
560
- return childPropsSelector(store.getState(), wrapperProps);
561
- }, [store, previousStateUpdateResult, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns
399
+ }, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic
400
+
401
+ const lastChildProps = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
402
+ const lastWrapperProps = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(wrapperProps);
403
+ const childPropsFromStoreUpdate = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
404
+ const renderIsScheduled = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
405
+ const isProcessingDispatch = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
406
+ const isMounted = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);
407
+ const latestSubscriptionCallbackError = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)();
408
+ (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__.useIsomorphicLayoutEffect)(() => {
409
+ isMounted.current = true;
410
+ return () => {
411
+ isMounted.current = false;
412
+ };
413
+ }, []);
414
+ const actualChildPropsSelector = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
415
+ const selector = () => {
416
+ // Tricky logic here:
417
+ // - This render may have been triggered by a Redux store update that produced new child props
418
+ // - However, we may have gotten new wrapper props after that
419
+ // If we have new child props, and the same wrapper props, we know we should use the new child props as-is.
420
+ // But, if we have new wrapper props, those might change the child props, so we have to recalculate things.
421
+ // So, we'll use the child props from store update only if the wrapper props are the same as last time.
422
+ if (childPropsFromStoreUpdate.current && wrapperProps === lastWrapperProps.current) {
423
+ return childPropsFromStoreUpdate.current;
424
+ } // TODO We're reading the store directly in render() here. Bad idea?
425
+ // This will likely cause Bad Things (TM) to happen in Concurrent Mode.
426
+ // Note that we do this because on renders _not_ caused by store updates, we need the latest store state
427
+ // to determine what the child props should be.
428
+
429
+
430
+ return childPropsSelector(store.getState(), wrapperProps);
431
+ };
432
+
433
+ return selector;
434
+ }, [store, wrapperProps]); // We need this to execute synchronously every time we re-render. However, React warns
562
435
  // about useLayoutEffect in SSR, so we try to detect environment and fall back to
563
436
  // just useEffect instead to avoid the warning, since neither will run anyway.
564
437
 
565
- useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs]); // Our re-subscribe logic only runs when the store/subscription setup changes
438
+ const subscribeForReact = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
439
+ const subscribe = reactListener => {
440
+ if (!subscription) {
441
+ return () => {};
442
+ }
443
+
444
+ return subscribeUpdates(shouldHandleStateChanges, store, subscription, // @ts-ignore
445
+ childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, isMounted, childPropsFromStoreUpdate, notifyNestedSubs, reactListener);
446
+ };
447
+
448
+ return subscribe;
449
+ }, [subscription]);
450
+ useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, childPropsFromStoreUpdate, notifyNestedSubs]);
451
+ let actualChildProps;
452
+
453
+ try {
454
+ actualChildProps = useSyncExternalStore( // TODO We're passing through a big wrapper that does a bunch of extra side effects besides subscribing
455
+ subscribeForReact, // TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
456
+ // TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
457
+ actualChildPropsSelector, getServerState ? () => childPropsSelector(getServerState(), wrapperProps) : actualChildPropsSelector);
458
+ } catch (err) {
459
+ if (latestSubscriptionCallbackError.current) {
460
+ ;
461
+ err.message += `\nThe error may be correlated with this previous error:\n${latestSubscriptionCallbackError.current.stack}\n\n`;
462
+ }
463
+
464
+ throw err;
465
+ }
566
466
 
567
- useIsomorphicLayoutEffectWithArgs(subscribeUpdates, [shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch], [store, subscription, childPropsSelector]); // Now that all that's done, we can finally try to actually render the child component.
467
+ (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_10__.useIsomorphicLayoutEffect)(() => {
468
+ latestSubscriptionCallbackError.current = undefined;
469
+ childPropsFromStoreUpdate.current = undefined;
470
+ lastChildProps.current = actualChildProps;
471
+ }); // Now that all that's done, we can finally try to actually render the child component.
568
472
  // We memoize the elements for the rendered child component as an optimization.
569
473
 
570
- var renderedWrappedComponent = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
571
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(WrappedComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, actualChildProps, {
572
- ref: reactReduxForwardedRef
573
- }));
474
+ const renderedWrappedComponent = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
475
+ return (
476
+ /*#__PURE__*/
477
+ // @ts-ignore
478
+ react__WEBPACK_IMPORTED_MODULE_3___default().createElement(WrappedComponent, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, actualChildProps, {
479
+ ref: reactReduxForwardedRef
480
+ }))
481
+ );
574
482
  }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering
575
483
  // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.
576
484
 
577
- var renderedChild = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {
485
+ const renderedChild = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(() => {
578
486
  if (shouldHandleStateChanges) {
579
487
  // If this component is subscribed to store updates, we need to pass its own
580
488
  // subscription instance down to our descendants. That means rendering the same
@@ -587,19 +495,24 @@ _ref) {
587
495
  return renderedWrappedComponent;
588
496
  }, [ContextToUse, renderedWrappedComponent, overriddenContextValue]);
589
497
  return renderedChild;
590
- } // If we're in "pure" mode, ensure our wrapper component only re-renders when incoming props have changed.
498
+ }
591
499
 
500
+ const _Connect = react__WEBPACK_IMPORTED_MODULE_3___default().memo(ConnectFunction);
592
501
 
593
- var Connect = pure ? react__WEBPACK_IMPORTED_MODULE_3___default().memo(ConnectFunction) : ConnectFunction;
502
+ // Add a hacky cast to get the right output type
503
+ const Connect = _Connect;
594
504
  Connect.WrappedComponent = WrappedComponent;
595
505
  Connect.displayName = ConnectFunction.displayName = displayName;
596
506
 
597
507
  if (forwardRef) {
598
- var forwarded = react__WEBPACK_IMPORTED_MODULE_3___default().forwardRef(function forwardConnectRef(props, ref) {
599
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Connect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, props, {
508
+ const _forwarded = react__WEBPACK_IMPORTED_MODULE_3___default().forwardRef(function forwardConnectRef(props, ref) {
509
+ // @ts-ignore
510
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(Connect, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, {
600
511
  reactReduxForwardedRef: ref
601
512
  }));
602
513
  });
514
+
515
+ const forwarded = _forwarded;
603
516
  forwarded.displayName = displayName;
604
517
  forwarded.WrappedComponent = WrappedComponent;
605
518
  return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default()(forwarded, WrappedComponent);
@@ -607,129 +520,30 @@ _ref) {
607
520
 
608
521
  return hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_2___default()(Connect, WrappedComponent);
609
522
  };
523
+
524
+ return wrapWithConnect;
610
525
  }
611
526
 
527
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (connect);
528
+
612
529
  /***/ }),
613
530
 
614
- /***/ "./node_modules/react-redux/es/connect/connect.js":
615
- /*!********************************************************!*\
616
- !*** ./node_modules/react-redux/es/connect/connect.js ***!
617
- \********************************************************/
531
+ /***/ "./node_modules/react-redux/es/connect/invalidArgFactory.js":
532
+ /*!******************************************************************!*\
533
+ !*** ./node_modules/react-redux/es/connect/invalidArgFactory.js ***!
534
+ \******************************************************************/
618
535
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
619
536
 
620
537
  __webpack_require__.r(__webpack_exports__);
621
538
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
622
- /* harmony export */ "createConnect": () => (/* binding */ createConnect),
623
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
539
+ /* harmony export */ "createInvalidArgFactory": () => (/* binding */ createInvalidArgFactory)
624
540
  /* harmony export */ });
625
- /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
626
- /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
627
- /* harmony import */ var _components_connectAdvanced__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/connectAdvanced */ "./node_modules/react-redux/es/components/connectAdvanced.js");
628
- /* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/shallowEqual */ "./node_modules/react-redux/es/utils/shallowEqual.js");
629
- /* harmony import */ var _mapDispatchToProps__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mapDispatchToProps */ "./node_modules/react-redux/es/connect/mapDispatchToProps.js");
630
- /* harmony import */ var _mapStateToProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./mapStateToProps */ "./node_modules/react-redux/es/connect/mapStateToProps.js");
631
- /* harmony import */ var _mergeProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./mergeProps */ "./node_modules/react-redux/es/connect/mergeProps.js");
632
- /* harmony import */ var _selectorFactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./selectorFactory */ "./node_modules/react-redux/es/connect/selectorFactory.js");
633
-
634
-
635
- var _excluded = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"];
636
-
637
-
638
-
639
-
640
-
641
-
642
- /*
643
- connect is a facade over connectAdvanced. It turns its args into a compatible
644
- selectorFactory, which has the signature:
645
-
646
- (dispatch, options) => (nextState, nextOwnProps) => nextFinalProps
647
-
648
- connect passes its args to connectAdvanced as options, which will in turn pass them to
649
- selectorFactory each time a Connect component instance is instantiated or hot reloaded.
650
-
651
- selectorFactory returns a final props selector from its mapStateToProps,
652
- mapStateToPropsFactories, mapDispatchToProps, mapDispatchToPropsFactories, mergeProps,
653
- mergePropsFactories, and pure args.
654
-
655
- The resulting final props selector is called by the Connect component instance whenever
656
- it receives new props or store state.
657
- */
658
-
659
- function match(arg, factories, name) {
660
- for (var i = factories.length - 1; i >= 0; i--) {
661
- var result = factories[i](arg);
662
- if (result) return result;
663
- }
664
-
665
- return function (dispatch, options) {
666
- throw new Error("Invalid value of type " + typeof arg + " for " + name + " argument when connecting component " + options.wrappedComponentName + ".");
541
+ function createInvalidArgFactory(arg, name) {
542
+ return (dispatch, options) => {
543
+ throw new Error(`Invalid value of type ${typeof arg} for ${name} argument when connecting component ${options.wrappedComponentName}.`);
667
544
  };
668
545
  }
669
546
 
670
- function strictEqual(a, b) {
671
- return a === b;
672
- } // createConnect with default args builds the 'official' connect behavior. Calling it with
673
- // different options opens up some testing and extensibility scenarios
674
-
675
-
676
- function createConnect(_temp) {
677
- var _ref = _temp === void 0 ? {} : _temp,
678
- _ref$connectHOC = _ref.connectHOC,
679
- connectHOC = _ref$connectHOC === void 0 ? _components_connectAdvanced__WEBPACK_IMPORTED_MODULE_2__.default : _ref$connectHOC,
680
- _ref$mapStateToPropsF = _ref.mapStateToPropsFactories,
681
- mapStateToPropsFactories = _ref$mapStateToPropsF === void 0 ? _mapStateToProps__WEBPACK_IMPORTED_MODULE_5__.default : _ref$mapStateToPropsF,
682
- _ref$mapDispatchToPro = _ref.mapDispatchToPropsFactories,
683
- mapDispatchToPropsFactories = _ref$mapDispatchToPro === void 0 ? _mapDispatchToProps__WEBPACK_IMPORTED_MODULE_4__.default : _ref$mapDispatchToPro,
684
- _ref$mergePropsFactor = _ref.mergePropsFactories,
685
- mergePropsFactories = _ref$mergePropsFactor === void 0 ? _mergeProps__WEBPACK_IMPORTED_MODULE_6__.default : _ref$mergePropsFactor,
686
- _ref$selectorFactory = _ref.selectorFactory,
687
- selectorFactory = _ref$selectorFactory === void 0 ? _selectorFactory__WEBPACK_IMPORTED_MODULE_7__.default : _ref$selectorFactory;
688
-
689
- return function connect(mapStateToProps, mapDispatchToProps, mergeProps, _ref2) {
690
- if (_ref2 === void 0) {
691
- _ref2 = {};
692
- }
693
-
694
- var _ref3 = _ref2,
695
- _ref3$pure = _ref3.pure,
696
- pure = _ref3$pure === void 0 ? true : _ref3$pure,
697
- _ref3$areStatesEqual = _ref3.areStatesEqual,
698
- areStatesEqual = _ref3$areStatesEqual === void 0 ? strictEqual : _ref3$areStatesEqual,
699
- _ref3$areOwnPropsEqua = _ref3.areOwnPropsEqual,
700
- areOwnPropsEqual = _ref3$areOwnPropsEqua === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__.default : _ref3$areOwnPropsEqua,
701
- _ref3$areStatePropsEq = _ref3.areStatePropsEqual,
702
- areStatePropsEqual = _ref3$areStatePropsEq === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__.default : _ref3$areStatePropsEq,
703
- _ref3$areMergedPropsE = _ref3.areMergedPropsEqual,
704
- areMergedPropsEqual = _ref3$areMergedPropsE === void 0 ? _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__.default : _ref3$areMergedPropsE,
705
- extraOptions = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__.default)(_ref3, _excluded);
706
-
707
- var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, 'mapStateToProps');
708
- var initMapDispatchToProps = match(mapDispatchToProps, mapDispatchToPropsFactories, 'mapDispatchToProps');
709
- var initMergeProps = match(mergeProps, mergePropsFactories, 'mergeProps');
710
- return connectHOC(selectorFactory, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({
711
- // used in error messages
712
- methodName: 'connect',
713
- // used to compute Connect's displayName from the wrapped component's displayName.
714
- getDisplayName: function getDisplayName(name) {
715
- return "Connect(" + name + ")";
716
- },
717
- // if mapStateToProps is falsy, the Connect component doesn't subscribe to store state changes
718
- shouldHandleStateChanges: Boolean(mapStateToProps),
719
- // passed through to selectorFactory
720
- initMapStateToProps: initMapStateToProps,
721
- initMapDispatchToProps: initMapDispatchToProps,
722
- initMergeProps: initMergeProps,
723
- pure: pure,
724
- areStatesEqual: areStatesEqual,
725
- areOwnPropsEqual: areOwnPropsEqual,
726
- areStatePropsEqual: areStatePropsEqual,
727
- areMergedPropsEqual: areMergedPropsEqual
728
- }, extraOptions));
729
- };
730
- }
731
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/*#__PURE__*/createConnect());
732
-
733
547
  /***/ }),
734
548
 
735
549
  /***/ "./node_modules/react-redux/es/connect/mapDispatchToProps.js":
@@ -740,31 +554,21 @@ function createConnect(_temp) {
740
554
 
741
555
  __webpack_require__.r(__webpack_exports__);
742
556
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
743
- /* harmony export */ "whenMapDispatchToPropsIsFunction": () => (/* binding */ whenMapDispatchToPropsIsFunction),
744
- /* harmony export */ "whenMapDispatchToPropsIsMissing": () => (/* binding */ whenMapDispatchToPropsIsMissing),
745
- /* harmony export */ "whenMapDispatchToPropsIsObject": () => (/* binding */ whenMapDispatchToPropsIsObject),
746
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
557
+ /* harmony export */ "mapDispatchToPropsFactory": () => (/* binding */ mapDispatchToPropsFactory)
747
558
  /* harmony export */ });
748
559
  /* harmony import */ var _utils_bindActionCreators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/bindActionCreators */ "./node_modules/react-redux/es/utils/bindActionCreators.js");
749
560
  /* harmony import */ var _wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./wrapMapToProps */ "./node_modules/react-redux/es/connect/wrapMapToProps.js");
561
+ /* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./invalidArgFactory */ "./node_modules/react-redux/es/connect/invalidArgFactory.js");
750
562
 
751
563
 
752
- function whenMapDispatchToPropsIsFunction(mapDispatchToProps) {
753
- return typeof mapDispatchToProps === 'function' ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsFunc)(mapDispatchToProps, 'mapDispatchToProps') : undefined;
754
- }
755
- function whenMapDispatchToPropsIsMissing(mapDispatchToProps) {
756
- return !mapDispatchToProps ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsConstant)(function (dispatch) {
757
- return {
758
- dispatch: dispatch
759
- };
760
- }) : undefined;
761
- }
762
- function whenMapDispatchToPropsIsObject(mapDispatchToProps) {
763
- return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsConstant)(function (dispatch) {
764
- return (0,_utils_bindActionCreators__WEBPACK_IMPORTED_MODULE_0__.default)(mapDispatchToProps, dispatch);
765
- }) : undefined;
564
+
565
+ function mapDispatchToPropsFactory(mapDispatchToProps) {
566
+ return mapDispatchToProps && typeof mapDispatchToProps === 'object' ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsConstant)(dispatch => // @ts-ignore
567
+ (0,_utils_bindActionCreators__WEBPACK_IMPORTED_MODULE_0__["default"])(mapDispatchToProps, dispatch)) : !mapDispatchToProps ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsConstant)(dispatch => ({
568
+ dispatch
569
+ })) : typeof mapDispatchToProps === 'function' ? // @ts-ignore
570
+ (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_1__.wrapMapToPropsFunc)(mapDispatchToProps, 'mapDispatchToProps') : (0,_invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__.createInvalidArgFactory)(mapDispatchToProps, 'mapDispatchToProps');
766
571
  }
767
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ([whenMapDispatchToPropsIsFunction, whenMapDispatchToPropsIsMissing, whenMapDispatchToPropsIsObject]);
768
572
 
769
573
  /***/ }),
770
574
 
@@ -776,21 +580,16 @@ function whenMapDispatchToPropsIsObject(mapDispatchToProps) {
776
580
 
777
581
  __webpack_require__.r(__webpack_exports__);
778
582
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
779
- /* harmony export */ "whenMapStateToPropsIsFunction": () => (/* binding */ whenMapStateToPropsIsFunction),
780
- /* harmony export */ "whenMapStateToPropsIsMissing": () => (/* binding */ whenMapStateToPropsIsMissing),
781
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
583
+ /* harmony export */ "mapStateToPropsFactory": () => (/* binding */ mapStateToPropsFactory)
782
584
  /* harmony export */ });
783
585
  /* harmony import */ var _wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wrapMapToProps */ "./node_modules/react-redux/es/connect/wrapMapToProps.js");
586
+ /* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./invalidArgFactory */ "./node_modules/react-redux/es/connect/invalidArgFactory.js");
784
587
 
785
- function whenMapStateToPropsIsFunction(mapStateToProps) {
786
- return typeof mapStateToProps === 'function' ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__.wrapMapToPropsFunc)(mapStateToProps, 'mapStateToProps') : undefined;
787
- }
788
- function whenMapStateToPropsIsMissing(mapStateToProps) {
789
- return !mapStateToProps ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__.wrapMapToPropsConstant)(function () {
790
- return {};
791
- }) : undefined;
588
+
589
+ function mapStateToPropsFactory(mapStateToProps) {
590
+ return !mapStateToProps ? (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__.wrapMapToPropsConstant)(() => ({})) : typeof mapStateToProps === 'function' ? // @ts-ignore
591
+ (0,_wrapMapToProps__WEBPACK_IMPORTED_MODULE_0__.wrapMapToPropsFunc)(mapStateToProps, 'mapStateToProps') : (0,_invalidArgFactory__WEBPACK_IMPORTED_MODULE_1__.createInvalidArgFactory)(mapStateToProps, 'mapStateToProps');
792
592
  }
793
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ([whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing]);
794
593
 
795
594
  /***/ }),
796
595
 
@@ -803,49 +602,44 @@ function whenMapStateToPropsIsMissing(mapStateToProps) {
803
602
  __webpack_require__.r(__webpack_exports__);
804
603
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
805
604
  /* harmony export */ "defaultMergeProps": () => (/* binding */ defaultMergeProps),
806
- /* harmony export */ "wrapMergePropsFunc": () => (/* binding */ wrapMergePropsFunc),
807
- /* harmony export */ "whenMergePropsIsFunction": () => (/* binding */ whenMergePropsIsFunction),
808
- /* harmony export */ "whenMergePropsIsOmitted": () => (/* binding */ whenMergePropsIsOmitted),
809
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
605
+ /* harmony export */ "mergePropsFactory": () => (/* binding */ mergePropsFactory),
606
+ /* harmony export */ "wrapMergePropsFunc": () => (/* binding */ wrapMergePropsFunc)
810
607
  /* harmony export */ });
811
608
  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js");
812
609
  /* harmony import */ var _utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/verifyPlainObject */ "./node_modules/react-redux/es/utils/verifyPlainObject.js");
610
+ /* harmony import */ var _invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./invalidArgFactory */ "./node_modules/react-redux/es/connect/invalidArgFactory.js");
611
+
813
612
 
814
613
 
815
614
  function defaultMergeProps(stateProps, dispatchProps, ownProps) {
816
- return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__.default)({}, ownProps, stateProps, dispatchProps);
615
+ // @ts-ignore
616
+ return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, ownProps, stateProps, dispatchProps);
817
617
  }
818
618
  function wrapMergePropsFunc(mergeProps) {
819
- return function initMergePropsProxy(dispatch, _ref) {
820
- var displayName = _ref.displayName,
821
- pure = _ref.pure,
822
- areMergedPropsEqual = _ref.areMergedPropsEqual;
823
- var hasRunOnce = false;
824
- var mergedProps;
619
+ return function initMergePropsProxy(dispatch, {
620
+ displayName,
621
+ areMergedPropsEqual
622
+ }) {
623
+ let hasRunOnce = false;
624
+ let mergedProps;
825
625
  return function mergePropsProxy(stateProps, dispatchProps, ownProps) {
826
- var nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);
626
+ const nextMergedProps = mergeProps(stateProps, dispatchProps, ownProps);
827
627
 
828
628
  if (hasRunOnce) {
829
- if (!pure || !areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;
629
+ if (!areMergedPropsEqual(nextMergedProps, mergedProps)) mergedProps = nextMergedProps;
830
630
  } else {
831
631
  hasRunOnce = true;
832
632
  mergedProps = nextMergedProps;
833
- if (true) (0,_utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_1__.default)(mergedProps, displayName, 'mergeProps');
633
+ if (true) (0,_utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_1__["default"])(mergedProps, displayName, 'mergeProps');
834
634
  }
835
635
 
836
636
  return mergedProps;
837
637
  };
838
638
  };
839
639
  }
840
- function whenMergePropsIsFunction(mergeProps) {
841
- return typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : undefined;
842
- }
843
- function whenMergePropsIsOmitted(mergeProps) {
844
- return !mergeProps ? function () {
845
- return defaultMergeProps;
846
- } : undefined;
640
+ function mergePropsFactory(mergeProps) {
641
+ return !mergeProps ? () => defaultMergeProps : typeof mergeProps === 'function' ? wrapMergePropsFunc(mergeProps) : (0,_invalidArgFactory__WEBPACK_IMPORTED_MODULE_2__.createInvalidArgFactory)(mergeProps, 'mergeProps');
847
642
  }
848
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ([whenMergePropsIsFunction, whenMergePropsIsOmitted]);
849
643
 
850
644
  /***/ }),
851
645
 
@@ -857,30 +651,25 @@ function whenMergePropsIsOmitted(mergeProps) {
857
651
 
858
652
  __webpack_require__.r(__webpack_exports__);
859
653
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
860
- /* harmony export */ "impureFinalPropsSelectorFactory": () => (/* binding */ impureFinalPropsSelectorFactory),
861
- /* harmony export */ "pureFinalPropsSelectorFactory": () => (/* binding */ pureFinalPropsSelectorFactory),
862
- /* harmony export */ "default": () => (/* binding */ finalPropsSelectorFactory)
654
+ /* harmony export */ "default": () => (/* binding */ finalPropsSelectorFactory),
655
+ /* harmony export */ "pureFinalPropsSelectorFactory": () => (/* binding */ pureFinalPropsSelectorFactory)
863
656
  /* harmony export */ });
864
657
  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
865
658
  /* harmony import */ var _verifySubselectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifySubselectors */ "./node_modules/react-redux/es/connect/verifySubselectors.js");
866
659
 
867
- var _excluded = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"];
660
+ const _excluded = ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"];
868
661
 
869
- function impureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch) {
870
- return function impureFinalPropsSelector(state, ownProps) {
871
- return mergeProps(mapStateToProps(state, ownProps), mapDispatchToProps(dispatch, ownProps), ownProps);
872
- };
873
- }
874
- function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, _ref) {
875
- var areStatesEqual = _ref.areStatesEqual,
876
- areOwnPropsEqual = _ref.areOwnPropsEqual,
877
- areStatePropsEqual = _ref.areStatePropsEqual;
878
- var hasRunAtLeastOnce = false;
879
- var state;
880
- var ownProps;
881
- var stateProps;
882
- var dispatchProps;
883
- var mergedProps;
662
+ function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, {
663
+ areStatesEqual,
664
+ areOwnPropsEqual,
665
+ areStatePropsEqual
666
+ }) {
667
+ let hasRunAtLeastOnce = false;
668
+ let state;
669
+ let ownProps;
670
+ let stateProps;
671
+ let dispatchProps;
672
+ let mergedProps;
884
673
 
885
674
  function handleFirstCall(firstState, firstOwnProps) {
886
675
  state = firstState;
@@ -907,16 +696,16 @@ function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, merg
907
696
  }
908
697
 
909
698
  function handleNewState() {
910
- var nextStateProps = mapStateToProps(state, ownProps);
911
- var statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);
699
+ const nextStateProps = mapStateToProps(state, ownProps);
700
+ const statePropsChanged = !areStatePropsEqual(nextStateProps, stateProps);
912
701
  stateProps = nextStateProps;
913
702
  if (statePropsChanged) mergedProps = mergeProps(stateProps, dispatchProps, ownProps);
914
703
  return mergedProps;
915
704
  }
916
705
 
917
706
  function handleSubsequentCalls(nextState, nextOwnProps) {
918
- var propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);
919
- var stateChanged = !areStatesEqual(nextState, state);
707
+ const propsChanged = !areOwnPropsEqual(nextOwnProps, ownProps);
708
+ const stateChanged = !areStatesEqual(nextState, state, nextOwnProps, ownProps);
920
709
  state = nextState;
921
710
  ownProps = nextOwnProps;
922
711
  if (propsChanged && stateChanged) return handleNewPropsAndNewState();
@@ -928,28 +717,28 @@ function pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, merg
928
717
  return function pureFinalPropsSelector(nextState, nextOwnProps) {
929
718
  return hasRunAtLeastOnce ? handleSubsequentCalls(nextState, nextOwnProps) : handleFirstCall(nextState, nextOwnProps);
930
719
  };
931
- } // TODO: Add more comments
932
- // If pure is true, the selector returned by selectorFactory will memoize its results,
933
- // allowing connectAdvanced's shouldComponentUpdate to return false if final
934
- // props have not changed. If false, the selector will always return a new
935
- // object and shouldComponentUpdate will always return true.
936
-
937
- function finalPropsSelectorFactory(dispatch, _ref2) {
938
- var initMapStateToProps = _ref2.initMapStateToProps,
939
- initMapDispatchToProps = _ref2.initMapDispatchToProps,
940
- initMergeProps = _ref2.initMergeProps,
941
- options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__.default)(_ref2, _excluded);
942
-
943
- var mapStateToProps = initMapStateToProps(dispatch, options);
944
- var mapDispatchToProps = initMapDispatchToProps(dispatch, options);
945
- var mergeProps = initMergeProps(dispatch, options);
720
+ }
721
+ // TODO: Add more comments
722
+ // The selector returned by selectorFactory will memoize its results,
723
+ // allowing connect's shouldComponentUpdate to return false if final
724
+ // props have not changed.
725
+ function finalPropsSelectorFactory(dispatch, _ref) {
726
+ let {
727
+ initMapStateToProps,
728
+ initMapDispatchToProps,
729
+ initMergeProps
730
+ } = _ref,
731
+ options = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, _excluded);
732
+
733
+ const mapStateToProps = initMapStateToProps(dispatch, options);
734
+ const mapDispatchToProps = initMapDispatchToProps(dispatch, options);
735
+ const mergeProps = initMergeProps(dispatch, options);
946
736
 
947
737
  if (true) {
948
- (0,_verifySubselectors__WEBPACK_IMPORTED_MODULE_1__.default)(mapStateToProps, mapDispatchToProps, mergeProps, options.displayName);
738
+ (0,_verifySubselectors__WEBPACK_IMPORTED_MODULE_1__["default"])(mapStateToProps, mapDispatchToProps, mergeProps);
949
739
  }
950
740
 
951
- var selectorFactory = options.pure ? pureFinalPropsSelectorFactory : impureFinalPropsSelectorFactory;
952
- return selectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
741
+ return pureFinalPropsSelectorFactory(mapStateToProps, mapDispatchToProps, mergeProps, dispatch, options);
953
742
  }
954
743
 
955
744
  /***/ }),
@@ -967,20 +756,20 @@ __webpack_require__.r(__webpack_exports__);
967
756
  /* harmony import */ var _utils_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/warning */ "./node_modules/react-redux/es/utils/warning.js");
968
757
 
969
758
 
970
- function verify(selector, methodName, displayName) {
759
+ function verify(selector, methodName) {
971
760
  if (!selector) {
972
- throw new Error("Unexpected value for " + methodName + " in " + displayName + ".");
761
+ throw new Error(`Unexpected value for ${methodName} in connect.`);
973
762
  } else if (methodName === 'mapStateToProps' || methodName === 'mapDispatchToProps') {
974
763
  if (!Object.prototype.hasOwnProperty.call(selector, 'dependsOnOwnProps')) {
975
- (0,_utils_warning__WEBPACK_IMPORTED_MODULE_0__.default)("The selector for " + methodName + " of " + displayName + " did not specify a value for dependsOnOwnProps.");
764
+ (0,_utils_warning__WEBPACK_IMPORTED_MODULE_0__["default"])(`The selector for ${methodName} of connect did not specify a value for dependsOnOwnProps.`);
976
765
  }
977
766
  }
978
767
  }
979
768
 
980
- function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, displayName) {
981
- verify(mapStateToProps, 'mapStateToProps', displayName);
982
- verify(mapDispatchToProps, 'mapDispatchToProps', displayName);
983
- verify(mergeProps, 'mergeProps', displayName);
769
+ function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps) {
770
+ verify(mapStateToProps, 'mapStateToProps');
771
+ verify(mapDispatchToProps, 'mapDispatchToProps');
772
+ verify(mergeProps, 'mergeProps');
984
773
  }
985
774
 
986
775
  /***/ }),
@@ -993,15 +782,20 @@ function verifySubselectors(mapStateToProps, mapDispatchToProps, mergeProps, dis
993
782
 
994
783
  __webpack_require__.r(__webpack_exports__);
995
784
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
996
- /* harmony export */ "wrapMapToPropsConstant": () => (/* binding */ wrapMapToPropsConstant),
997
785
  /* harmony export */ "getDependsOnOwnProps": () => (/* binding */ getDependsOnOwnProps),
786
+ /* harmony export */ "wrapMapToPropsConstant": () => (/* binding */ wrapMapToPropsConstant),
998
787
  /* harmony export */ "wrapMapToPropsFunc": () => (/* binding */ wrapMapToPropsFunc)
999
788
  /* harmony export */ });
1000
789
  /* harmony import */ var _utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/verifyPlainObject */ "./node_modules/react-redux/es/utils/verifyPlainObject.js");
1001
790
 
1002
- function wrapMapToPropsConstant(getConstant) {
1003
- return function initConstantSelector(dispatch, options) {
1004
- var constant = getConstant(dispatch, options);
791
+ function wrapMapToPropsConstant( // * Note:
792
+ // It seems that the dispatch argument
793
+ // could be a dispatch function in some cases (ex: whenMapDispatchToPropsIsMissing)
794
+ // and a state object in some others (ex: whenMapStateToPropsIsMissing)
795
+ // eslint-disable-next-line no-unused-vars
796
+ getConstant) {
797
+ return function initConstantSelector(dispatch) {
798
+ const constant = getConstant(dispatch);
1005
799
 
1006
800
  function constantSelector() {
1007
801
  return constant;
@@ -1017,9 +811,10 @@ function wrapMapToPropsConstant(getConstant) {
1017
811
  // A length of one signals that mapToProps does not depend on props from the parent component.
1018
812
  // A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and
1019
813
  // therefore not reporting its length accurately..
814
+ // TODO Can this get pulled out so that we can subscribe directly to the store if we don't need ownProps?
1020
815
 
1021
816
  function getDependsOnOwnProps(mapToProps) {
1022
- return mapToProps.dependsOnOwnProps !== null && mapToProps.dependsOnOwnProps !== undefined ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;
817
+ return mapToProps.dependsOnOwnProps ? Boolean(mapToProps.dependsOnOwnProps) : mapToProps.length !== 1;
1023
818
  } // Used by whenMapStateToPropsIsFunction and whenMapDispatchToPropsIsFunction,
1024
819
  // this function wraps mapToProps in a proxy function which does several things:
1025
820
  //
@@ -1034,11 +829,11 @@ function getDependsOnOwnProps(mapToProps) {
1034
829
  //
1035
830
 
1036
831
  function wrapMapToPropsFunc(mapToProps, methodName) {
1037
- return function initProxySelector(dispatch, _ref) {
1038
- var displayName = _ref.displayName;
1039
-
1040
- var proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {
1041
- return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch);
832
+ return function initProxySelector(dispatch, {
833
+ displayName
834
+ }) {
835
+ const proxy = function mapToPropsProxy(stateOrDispatch, ownProps) {
836
+ return proxy.dependsOnOwnProps ? proxy.mapToProps(stateOrDispatch, ownProps) : proxy.mapToProps(stateOrDispatch, undefined);
1042
837
  }; // allow detectFactoryAndVerify to get ownProps
1043
838
 
1044
839
 
@@ -1047,7 +842,7 @@ function wrapMapToPropsFunc(mapToProps, methodName) {
1047
842
  proxy.mapToProps = function detectFactoryAndVerify(stateOrDispatch, ownProps) {
1048
843
  proxy.mapToProps = mapToProps;
1049
844
  proxy.dependsOnOwnProps = getDependsOnOwnProps(mapToProps);
1050
- var props = proxy(stateOrDispatch, ownProps);
845
+ let props = proxy(stateOrDispatch, ownProps);
1051
846
 
1052
847
  if (typeof props === 'function') {
1053
848
  proxy.mapToProps = props;
@@ -1055,7 +850,7 @@ function wrapMapToPropsFunc(mapToProps, methodName) {
1055
850
  props = proxy(stateOrDispatch, ownProps);
1056
851
  }
1057
852
 
1058
- if (true) (0,_utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_0__.default)(props, displayName, methodName);
853
+ if (true) (0,_utils_verifyPlainObject__WEBPACK_IMPORTED_MODULE_0__["default"])(props, displayName, methodName);
1059
854
  return props;
1060
855
  };
1061
856
 
@@ -1073,26 +868,25 @@ function wrapMapToPropsFunc(mapToProps, methodName) {
1073
868
 
1074
869
  __webpack_require__.r(__webpack_exports__);
1075
870
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1076
- /* harmony export */ "Provider": () => (/* reexport safe */ _components_Provider__WEBPACK_IMPORTED_MODULE_0__.default),
1077
- /* harmony export */ "connectAdvanced": () => (/* reexport safe */ _components_connectAdvanced__WEBPACK_IMPORTED_MODULE_1__.default),
871
+ /* harmony export */ "Provider": () => (/* reexport safe */ _components_Provider__WEBPACK_IMPORTED_MODULE_0__["default"]),
1078
872
  /* harmony export */ "ReactReduxContext": () => (/* reexport safe */ _components_Context__WEBPACK_IMPORTED_MODULE_2__.ReactReduxContext),
1079
- /* harmony export */ "connect": () => (/* reexport safe */ _connect_connect__WEBPACK_IMPORTED_MODULE_3__.default),
1080
- /* harmony export */ "useDispatch": () => (/* reexport safe */ _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_4__.useDispatch),
1081
- /* harmony export */ "createDispatchHook": () => (/* reexport safe */ _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_4__.createDispatchHook),
1082
- /* harmony export */ "useSelector": () => (/* reexport safe */ _hooks_useSelector__WEBPACK_IMPORTED_MODULE_5__.useSelector),
1083
- /* harmony export */ "createSelectorHook": () => (/* reexport safe */ _hooks_useSelector__WEBPACK_IMPORTED_MODULE_5__.createSelectorHook),
1084
- /* harmony export */ "useStore": () => (/* reexport safe */ _hooks_useStore__WEBPACK_IMPORTED_MODULE_6__.useStore),
1085
- /* harmony export */ "createStoreHook": () => (/* reexport safe */ _hooks_useStore__WEBPACK_IMPORTED_MODULE_6__.createStoreHook),
1086
- /* harmony export */ "shallowEqual": () => (/* reexport safe */ _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_7__.default)
873
+ /* harmony export */ "connect": () => (/* reexport safe */ _components_connect__WEBPACK_IMPORTED_MODULE_1__["default"]),
874
+ /* harmony export */ "createDispatchHook": () => (/* reexport safe */ _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_3__.createDispatchHook),
875
+ /* harmony export */ "createSelectorHook": () => (/* reexport safe */ _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__.createSelectorHook),
876
+ /* harmony export */ "createStoreHook": () => (/* reexport safe */ _hooks_useStore__WEBPACK_IMPORTED_MODULE_5__.createStoreHook),
877
+ /* harmony export */ "shallowEqual": () => (/* reexport safe */ _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_6__["default"]),
878
+ /* harmony export */ "useDispatch": () => (/* reexport safe */ _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_3__.useDispatch),
879
+ /* harmony export */ "useSelector": () => (/* reexport safe */ _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__.useSelector),
880
+ /* harmony export */ "useStore": () => (/* reexport safe */ _hooks_useStore__WEBPACK_IMPORTED_MODULE_5__.useStore)
1087
881
  /* harmony export */ });
1088
882
  /* harmony import */ var _components_Provider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/Provider */ "./node_modules/react-redux/es/components/Provider.js");
1089
- /* harmony import */ var _components_connectAdvanced__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/connectAdvanced */ "./node_modules/react-redux/es/components/connectAdvanced.js");
883
+ /* harmony import */ var _components_connect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/connect */ "./node_modules/react-redux/es/components/connect.js");
1090
884
  /* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/Context */ "./node_modules/react-redux/es/components/Context.js");
1091
- /* harmony import */ var _connect_connect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./connect/connect */ "./node_modules/react-redux/es/connect/connect.js");
1092
- /* harmony import */ var _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useDispatch */ "./node_modules/react-redux/es/hooks/useDispatch.js");
1093
- /* harmony import */ var _hooks_useSelector__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useSelector */ "./node_modules/react-redux/es/hooks/useSelector.js");
1094
- /* harmony import */ var _hooks_useStore__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./hooks/useStore */ "./node_modules/react-redux/es/hooks/useStore.js");
1095
- /* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/shallowEqual */ "./node_modules/react-redux/es/utils/shallowEqual.js");
885
+ /* harmony import */ var _hooks_useDispatch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hooks/useDispatch */ "./node_modules/react-redux/es/hooks/useDispatch.js");
886
+ /* harmony import */ var _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useSelector */ "./node_modules/react-redux/es/hooks/useSelector.js");
887
+ /* harmony import */ var _hooks_useStore__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useStore */ "./node_modules/react-redux/es/hooks/useStore.js");
888
+ /* harmony import */ var _utils_shallowEqual__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/shallowEqual */ "./node_modules/react-redux/es/utils/shallowEqual.js");
889
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./types */ "./node_modules/react-redux/es/types.js");
1096
890
 
1097
891
 
1098
892
 
@@ -1120,47 +914,45 @@ __webpack_require__.r(__webpack_exports__);
1120
914
  /* harmony import */ var _useStore__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useStore */ "./node_modules/react-redux/es/hooks/useStore.js");
1121
915
 
1122
916
 
1123
- /**
1124
- * Hook factory, which creates a `useDispatch` hook bound to a given context.
1125
- *
1126
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
1127
- * @returns {Function} A `useDispatch` hook bound to the specified context.
917
+ /**
918
+ * Hook factory, which creates a `useDispatch` hook bound to a given context.
919
+ *
920
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
921
+ * @returns {Function} A `useDispatch` hook bound to the specified context.
1128
922
  */
1129
923
 
1130
- function createDispatchHook(context) {
1131
- if (context === void 0) {
1132
- context = _components_Context__WEBPACK_IMPORTED_MODULE_0__.ReactReduxContext;
1133
- }
1134
-
1135
- var useStore = context === _components_Context__WEBPACK_IMPORTED_MODULE_0__.ReactReduxContext ? _useStore__WEBPACK_IMPORTED_MODULE_1__.useStore : (0,_useStore__WEBPACK_IMPORTED_MODULE_1__.createStoreHook)(context);
924
+ function createDispatchHook(context = _components_Context__WEBPACK_IMPORTED_MODULE_0__.ReactReduxContext) {
925
+ const useStore = // @ts-ignore
926
+ context === _components_Context__WEBPACK_IMPORTED_MODULE_0__.ReactReduxContext ? _useStore__WEBPACK_IMPORTED_MODULE_1__.useStore : (0,_useStore__WEBPACK_IMPORTED_MODULE_1__.createStoreHook)(context);
1136
927
  return function useDispatch() {
1137
- var store = useStore();
928
+ const store = useStore(); // @ts-ignore
929
+
1138
930
  return store.dispatch;
1139
931
  };
1140
932
  }
1141
- /**
1142
- * A hook to access the redux `dispatch` function.
1143
- *
1144
- * @returns {any|function} redux store's `dispatch` function
1145
- *
1146
- * @example
1147
- *
1148
- * import React, { useCallback } from 'react'
1149
- * import { useDispatch } from 'react-redux'
1150
- *
1151
- * export const CounterComponent = ({ value }) => {
1152
- * const dispatch = useDispatch()
1153
- * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
1154
- * return (
1155
- * <div>
1156
- * <span>{value}</span>
1157
- * <button onClick={increaseCounter}>Increase counter</button>
1158
- * </div>
1159
- * )
1160
- * }
933
+ /**
934
+ * A hook to access the redux `dispatch` function.
935
+ *
936
+ * @returns {any|function} redux store's `dispatch` function
937
+ *
938
+ * @example
939
+ *
940
+ * import React, { useCallback } from 'react'
941
+ * import { useDispatch } from 'react-redux'
942
+ *
943
+ * export const CounterComponent = ({ value }) => {
944
+ * const dispatch = useDispatch()
945
+ * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
946
+ * return (
947
+ * <div>
948
+ * <span>{value}</span>
949
+ * <button onClick={increaseCounter}>Increase counter</button>
950
+ * </div>
951
+ * )
952
+ * }
1161
953
  */
1162
954
 
1163
- var useDispatch = /*#__PURE__*/createDispatchHook();
955
+ const useDispatch = /*#__PURE__*/createDispatchHook();
1164
956
 
1165
957
  /***/ }),
1166
958
 
@@ -1174,30 +966,30 @@ __webpack_require__.r(__webpack_exports__);
1174
966
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1175
967
  /* harmony export */ "useReduxContext": () => (/* binding */ useReduxContext)
1176
968
  /* harmony export */ });
1177
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
969
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
1178
970
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1179
971
  /* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/Context */ "./node_modules/react-redux/es/components/Context.js");
1180
972
 
1181
973
 
1182
- /**
1183
- * A hook to access the value of the `ReactReduxContext`. This is a low-level
1184
- * hook that you should usually not need to call directly.
1185
- *
1186
- * @returns {any} the value of the `ReactReduxContext`
1187
- *
1188
- * @example
1189
- *
1190
- * import React from 'react'
1191
- * import { useReduxContext } from 'react-redux'
1192
- *
1193
- * export const CounterComponent = ({ value }) => {
1194
- * const { store } = useReduxContext()
1195
- * return <div>{store.getState()}</div>
1196
- * }
1197
- */
1198
974
 
975
+ /**
976
+ * A hook to access the value of the `ReactReduxContext`. This is a low-level
977
+ * hook that you should usually not need to call directly.
978
+ *
979
+ * @returns {any} the value of the `ReactReduxContext`
980
+ *
981
+ * @example
982
+ *
983
+ * import React from 'react'
984
+ * import { useReduxContext } from 'react-redux'
985
+ *
986
+ * export const CounterComponent = () => {
987
+ * const { store } = useReduxContext()
988
+ * return <div>{store.getState()}</div>
989
+ * }
990
+ */
1199
991
  function useReduxContext() {
1200
- var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext);
992
+ const contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext);
1201
993
 
1202
994
  if ( true && !contextValue) {
1203
995
  throw new Error('could not find react-redux context value; please ensure the component is wrapped in a <Provider>');
@@ -1217,172 +1009,84 @@ function useReduxContext() {
1217
1009
  __webpack_require__.r(__webpack_exports__);
1218
1010
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1219
1011
  /* harmony export */ "createSelectorHook": () => (/* binding */ createSelectorHook),
1012
+ /* harmony export */ "initializeUseSelector": () => (/* binding */ initializeUseSelector),
1220
1013
  /* harmony export */ "useSelector": () => (/* binding */ useSelector)
1221
1014
  /* harmony export */ });
1222
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
1015
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
1223
1016
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1224
1017
  /* harmony import */ var _useReduxContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useReduxContext */ "./node_modules/react-redux/es/hooks/useReduxContext.js");
1225
- /* harmony import */ var _utils_Subscription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/Subscription */ "./node_modules/react-redux/es/utils/Subscription.js");
1226
- /* harmony import */ var _utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useIsomorphicLayoutEffect */ "./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js");
1227
- /* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components/Context */ "./node_modules/react-redux/es/components/Context.js");
1228
-
1229
-
1018
+ /* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/Context */ "./node_modules/react-redux/es/components/Context.js");
1019
+ /* harmony import */ var _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/useSyncExternalStore */ "./node_modules/react-redux/es/utils/useSyncExternalStore.js");
1230
1020
 
1231
1021
 
1232
1022
 
1233
1023
 
1234
- var refEquality = function refEquality(a, b) {
1235
- return a === b;
1024
+ let useSyncExternalStoreWithSelector = _utils_useSyncExternalStore__WEBPACK_IMPORTED_MODULE_3__.notInitialized;
1025
+ const initializeUseSelector = fn => {
1026
+ useSyncExternalStoreWithSelector = fn;
1236
1027
  };
1237
1028
 
1238
- function useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub) {
1239
- var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)(function (s) {
1240
- return s + 1;
1241
- }, 0),
1242
- forceRender = _useReducer[1];
1243
-
1244
- var subscription = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
1245
- return (0,_utils_Subscription__WEBPACK_IMPORTED_MODULE_2__.createSubscription)(store, contextSub);
1246
- }, [store, contextSub]);
1247
- var latestSubscriptionCallbackError = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
1248
- var latestSelector = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
1249
- var latestStoreState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
1250
- var latestSelectedState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();
1251
- var storeState = store.getState();
1252
- var selectedState;
1253
-
1254
- try {
1255
- if (selector !== latestSelector.current || storeState !== latestStoreState.current || latestSubscriptionCallbackError.current) {
1256
- var newSelectedState = selector(storeState); // ensure latest selected state is reused so that a custom equality function can result in identical references
1257
-
1258
- if (latestSelectedState.current === undefined || !equalityFn(newSelectedState, latestSelectedState.current)) {
1259
- selectedState = newSelectedState;
1260
- } else {
1261
- selectedState = latestSelectedState.current;
1262
- }
1263
- } else {
1264
- selectedState = latestSelectedState.current;
1265
- }
1266
- } catch (err) {
1267
- if (latestSubscriptionCallbackError.current) {
1268
- err.message += "\nThe error may be correlated with this previous error:\n" + latestSubscriptionCallbackError.current.stack + "\n\n";
1269
- }
1270
-
1271
- throw err;
1272
- }
1273
-
1274
- (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__.useIsomorphicLayoutEffect)(function () {
1275
- latestSelector.current = selector;
1276
- latestStoreState.current = storeState;
1277
- latestSelectedState.current = selectedState;
1278
- latestSubscriptionCallbackError.current = undefined;
1279
- });
1280
- (0,_utils_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__.useIsomorphicLayoutEffect)(function () {
1281
- function checkForUpdates() {
1282
- try {
1283
- var newStoreState = store.getState(); // Avoid calling selector multiple times if the store's state has not changed
1284
-
1285
- if (newStoreState === latestStoreState.current) {
1286
- return;
1287
- }
1288
-
1289
- var _newSelectedState = latestSelector.current(newStoreState);
1290
-
1291
- if (equalityFn(_newSelectedState, latestSelectedState.current)) {
1292
- return;
1293
- }
1294
-
1295
- latestSelectedState.current = _newSelectedState;
1296
- latestStoreState.current = newStoreState;
1297
- } catch (err) {
1298
- // we ignore all errors here, since when the component
1299
- // is re-rendered, the selectors are called again, and
1300
- // will throw again, if neither props nor store state
1301
- // changed
1302
- latestSubscriptionCallbackError.current = err;
1303
- }
1304
-
1305
- forceRender();
1306
- }
1307
-
1308
- subscription.onStateChange = checkForUpdates;
1309
- subscription.trySubscribe();
1310
- checkForUpdates();
1311
- return function () {
1312
- return subscription.tryUnsubscribe();
1313
- };
1314
- }, [store, subscription]);
1315
- return selectedState;
1316
- }
1317
- /**
1318
- * Hook factory, which creates a `useSelector` hook bound to a given context.
1319
- *
1320
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
1321
- * @returns {Function} A `useSelector` hook bound to the specified context.
1029
+ const refEquality = (a, b) => a === b;
1030
+ /**
1031
+ * Hook factory, which creates a `useSelector` hook bound to a given context.
1032
+ *
1033
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
1034
+ * @returns {Function} A `useSelector` hook bound to the specified context.
1322
1035
  */
1323
1036
 
1324
1037
 
1325
- function createSelectorHook(context) {
1326
- if (context === void 0) {
1327
- context = _components_Context__WEBPACK_IMPORTED_MODULE_4__.ReactReduxContext;
1328
- }
1329
-
1330
- var useReduxContext = context === _components_Context__WEBPACK_IMPORTED_MODULE_4__.ReactReduxContext ? _useReduxContext__WEBPACK_IMPORTED_MODULE_1__.useReduxContext : function () {
1331
- return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);
1332
- };
1333
- return function useSelector(selector, equalityFn) {
1334
- if (equalityFn === void 0) {
1335
- equalityFn = refEquality;
1336
- }
1337
-
1038
+ function createSelectorHook(context = _components_Context__WEBPACK_IMPORTED_MODULE_2__.ReactReduxContext) {
1039
+ const useReduxContext = context === _components_Context__WEBPACK_IMPORTED_MODULE_2__.ReactReduxContext ? _useReduxContext__WEBPACK_IMPORTED_MODULE_1__.useReduxContext : () => (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);
1040
+ return function useSelector(selector, equalityFn = refEquality) {
1338
1041
  if (true) {
1339
1042
  if (!selector) {
1340
- throw new Error("You must pass a selector to useSelector");
1043
+ throw new Error(`You must pass a selector to useSelector`);
1341
1044
  }
1342
1045
 
1343
1046
  if (typeof selector !== 'function') {
1344
- throw new Error("You must pass a function as a selector to useSelector");
1047
+ throw new Error(`You must pass a function as a selector to useSelector`);
1345
1048
  }
1346
1049
 
1347
1050
  if (typeof equalityFn !== 'function') {
1348
- throw new Error("You must pass a function as an equality function to useSelector");
1051
+ throw new Error(`You must pass a function as an equality function to useSelector`);
1349
1052
  }
1350
1053
  }
1351
1054
 
1352
- var _useReduxContext = useReduxContext(),
1353
- store = _useReduxContext.store,
1354
- contextSub = _useReduxContext.subscription;
1355
-
1356
- var selectedState = useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub);
1055
+ const {
1056
+ store,
1057
+ subscription,
1058
+ getServerState
1059
+ } = useReduxContext();
1060
+ const selectedState = useSyncExternalStoreWithSelector(subscription.addNestedSub, store.getState, getServerState || store.getState, selector, equalityFn);
1357
1061
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue)(selectedState);
1358
1062
  return selectedState;
1359
1063
  };
1360
1064
  }
1361
- /**
1362
- * A hook to access the redux store's state. This hook takes a selector function
1363
- * as an argument. The selector is called with the store state.
1364
- *
1365
- * This hook takes an optional equality comparison function as the second parameter
1366
- * that allows you to customize the way the selected state is compared to determine
1367
- * whether the component needs to be re-rendered.
1368
- *
1369
- * @param {Function} selector the selector function
1370
- * @param {Function=} equalityFn the function that will be used to determine equality
1371
- *
1372
- * @returns {any} the selected state
1373
- *
1374
- * @example
1375
- *
1376
- * import React from 'react'
1377
- * import { useSelector } from 'react-redux'
1378
- *
1379
- * export const CounterComponent = () => {
1380
- * const counter = useSelector(state => state.counter)
1381
- * return <div>{counter}</div>
1382
- * }
1065
+ /**
1066
+ * A hook to access the redux store's state. This hook takes a selector function
1067
+ * as an argument. The selector is called with the store state.
1068
+ *
1069
+ * This hook takes an optional equality comparison function as the second parameter
1070
+ * that allows you to customize the way the selected state is compared to determine
1071
+ * whether the component needs to be re-rendered.
1072
+ *
1073
+ * @param {Function} selector the selector function
1074
+ * @param {Function=} equalityFn the function that will be used to determine equality
1075
+ *
1076
+ * @returns {any} the selected state
1077
+ *
1078
+ * @example
1079
+ *
1080
+ * import React from 'react'
1081
+ * import { useSelector } from 'react-redux'
1082
+ *
1083
+ * export const CounterComponent = () => {
1084
+ * const counter = useSelector(state => state.counter)
1085
+ * return <div>{counter}</div>
1086
+ * }
1383
1087
  */
1384
1088
 
1385
- var useSelector = /*#__PURE__*/createSelectorHook();
1089
+ const useSelector = /*#__PURE__*/createSelectorHook();
1386
1090
 
1387
1091
  /***/ }),
1388
1092
 
@@ -1397,52 +1101,48 @@ __webpack_require__.r(__webpack_exports__);
1397
1101
  /* harmony export */ "createStoreHook": () => (/* binding */ createStoreHook),
1398
1102
  /* harmony export */ "useStore": () => (/* binding */ useStore)
1399
1103
  /* harmony export */ });
1400
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
1104
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
1401
1105
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1402
1106
  /* harmony import */ var _components_Context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/Context */ "./node_modules/react-redux/es/components/Context.js");
1403
1107
  /* harmony import */ var _useReduxContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useReduxContext */ "./node_modules/react-redux/es/hooks/useReduxContext.js");
1404
1108
 
1405
1109
 
1406
1110
 
1407
- /**
1408
- * Hook factory, which creates a `useStore` hook bound to a given context.
1409
- *
1410
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
1411
- * @returns {Function} A `useStore` hook bound to the specified context.
1111
+ /**
1112
+ * Hook factory, which creates a `useStore` hook bound to a given context.
1113
+ *
1114
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
1115
+ * @returns {Function} A `useStore` hook bound to the specified context.
1412
1116
  */
1413
1117
 
1414
- function createStoreHook(context) {
1415
- if (context === void 0) {
1416
- context = _components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext;
1417
- }
1418
-
1419
- var useReduxContext = context === _components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext ? _useReduxContext__WEBPACK_IMPORTED_MODULE_2__.useReduxContext : function () {
1420
- return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);
1421
- };
1118
+ function createStoreHook(context = _components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext) {
1119
+ const useReduxContext = // @ts-ignore
1120
+ context === _components_Context__WEBPACK_IMPORTED_MODULE_1__.ReactReduxContext ? _useReduxContext__WEBPACK_IMPORTED_MODULE_2__.useReduxContext : () => (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);
1422
1121
  return function useStore() {
1423
- var _useReduxContext = useReduxContext(),
1424
- store = _useReduxContext.store;
1122
+ const {
1123
+ store
1124
+ } = useReduxContext(); // @ts-ignore
1425
1125
 
1426
1126
  return store;
1427
1127
  };
1428
1128
  }
1429
- /**
1430
- * A hook to access the redux store.
1431
- *
1432
- * @returns {any} the redux store
1433
- *
1434
- * @example
1435
- *
1436
- * import React from 'react'
1437
- * import { useStore } from 'react-redux'
1438
- *
1439
- * export const ExampleComponent = () => {
1440
- * const store = useStore()
1441
- * return <div>{store.getState()}</div>
1442
- * }
1129
+ /**
1130
+ * A hook to access the redux store.
1131
+ *
1132
+ * @returns {any} the redux store
1133
+ *
1134
+ * @example
1135
+ *
1136
+ * import React from 'react'
1137
+ * import { useStore } from 'react-redux'
1138
+ *
1139
+ * export const ExampleComponent = () => {
1140
+ * const store = useStore()
1141
+ * return <div>{store.getState()}</div>
1142
+ * }
1443
1143
  */
1444
1144
 
1445
- var useStore = /*#__PURE__*/createStoreHook();
1145
+ const useStore = /*#__PURE__*/createStoreHook();
1446
1146
 
1447
1147
  /***/ }),
1448
1148
 
@@ -1454,28 +1154,51 @@ var useStore = /*#__PURE__*/createStoreHook();
1454
1154
 
1455
1155
  __webpack_require__.r(__webpack_exports__);
1456
1156
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1457
- /* harmony export */ "Provider": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.Provider),
1458
- /* harmony export */ "ReactReduxContext": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.ReactReduxContext),
1459
- /* harmony export */ "connect": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.connect),
1460
- /* harmony export */ "connectAdvanced": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.connectAdvanced),
1461
- /* harmony export */ "createDispatchHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.createDispatchHook),
1462
- /* harmony export */ "createSelectorHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.createSelectorHook),
1463
- /* harmony export */ "createStoreHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.createStoreHook),
1464
- /* harmony export */ "shallowEqual": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.shallowEqual),
1465
- /* harmony export */ "useDispatch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.useDispatch),
1466
- /* harmony export */ "useSelector": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.useSelector),
1467
- /* harmony export */ "useStore": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_0__.useStore),
1468
- /* harmony export */ "batch": () => (/* reexport safe */ _utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_1__.unstable_batchedUpdates)
1157
+ /* harmony export */ "Provider": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.Provider),
1158
+ /* harmony export */ "ReactReduxContext": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.ReactReduxContext),
1159
+ /* harmony export */ "batch": () => (/* reexport safe */ _utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_2__.unstable_batchedUpdates),
1160
+ /* harmony export */ "connect": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.connect),
1161
+ /* harmony export */ "createDispatchHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.createDispatchHook),
1162
+ /* harmony export */ "createSelectorHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.createSelectorHook),
1163
+ /* harmony export */ "createStoreHook": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.createStoreHook),
1164
+ /* harmony export */ "shallowEqual": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.shallowEqual),
1165
+ /* harmony export */ "useDispatch": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.useDispatch),
1166
+ /* harmony export */ "useSelector": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.useSelector),
1167
+ /* harmony export */ "useStore": () => (/* reexport safe */ _exports__WEBPACK_IMPORTED_MODULE_6__.useStore)
1469
1168
  /* harmony export */ });
1470
- /* harmony import */ var _exports__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./exports */ "./node_modules/react-redux/es/exports.js");
1471
- /* harmony import */ var _utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/reactBatchedUpdates */ "./node_modules/react-redux/es/utils/reactBatchedUpdates.js");
1472
- /* harmony import */ var _utils_batch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/batch */ "./node_modules/react-redux/es/utils/batch.js");
1169
+ /* harmony import */ var use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! use-sync-external-store/shim */ "./node_modules/use-sync-external-store/shim/index.js");
1170
+ /* harmony import */ var use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! use-sync-external-store/shim/with-selector */ "./node_modules/use-sync-external-store/shim/with-selector.js");
1171
+ /* harmony import */ var _utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/reactBatchedUpdates */ "./node_modules/react-redux/es/utils/reactBatchedUpdates.js");
1172
+ /* harmony import */ var _utils_batch__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/batch */ "./node_modules/react-redux/es/utils/batch.js");
1173
+ /* harmony import */ var _hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useSelector */ "./node_modules/react-redux/es/hooks/useSelector.js");
1174
+ /* harmony import */ var _components_connect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/connect */ "./node_modules/react-redux/es/components/connect.js");
1175
+ /* harmony import */ var _exports__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./exports */ "./node_modules/react-redux/es/exports.js");
1176
+ // The primary entry point assumes we're working with standard ReactDOM/RN, but
1177
+ // older versions that do not include `useSyncExternalStore` (React 16.9 - 17.x).
1178
+ // Because of that, the useSyncExternalStore compat shim is needed.
1179
+
1180
+
1181
+
1182
+
1473
1183
 
1474
1184
 
1475
- // Enable batched updates in our subscriptions for use
1185
+ (0,_hooks_useSelector__WEBPACK_IMPORTED_MODULE_4__.initializeUseSelector)(use_sync_external_store_shim_with_selector__WEBPACK_IMPORTED_MODULE_1__.useSyncExternalStoreWithSelector);
1186
+ (0,_components_connect__WEBPACK_IMPORTED_MODULE_5__.initializeConnect)(use_sync_external_store_shim__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore); // Enable batched updates in our subscriptions for use
1476
1187
  // with standard React renderers (ReactDOM, React Native)
1477
1188
 
1478
- (0,_utils_batch__WEBPACK_IMPORTED_MODULE_2__.setBatch)(_utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_1__.unstable_batchedUpdates);
1189
+ (0,_utils_batch__WEBPACK_IMPORTED_MODULE_3__.setBatch)(_utils_reactBatchedUpdates__WEBPACK_IMPORTED_MODULE_2__.unstable_batchedUpdates);
1190
+
1191
+
1192
+
1193
+ /***/ }),
1194
+
1195
+ /***/ "./node_modules/react-redux/es/types.js":
1196
+ /*!**********************************************!*\
1197
+ !*** ./node_modules/react-redux/es/types.js ***!
1198
+ \**********************************************/
1199
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1200
+
1201
+ __webpack_require__.r(__webpack_exports__);
1479
1202
 
1480
1203
 
1481
1204
  /***/ }),
@@ -1496,17 +1219,18 @@ __webpack_require__.r(__webpack_exports__);
1496
1219
  // ancestor components re-render before descendants
1497
1220
 
1498
1221
  function createListenerCollection() {
1499
- var batch = (0,_batch__WEBPACK_IMPORTED_MODULE_0__.getBatch)();
1500
- var first = null;
1501
- var last = null;
1222
+ const batch = (0,_batch__WEBPACK_IMPORTED_MODULE_0__.getBatch)();
1223
+ let first = null;
1224
+ let last = null;
1502
1225
  return {
1503
- clear: function clear() {
1226
+ clear() {
1504
1227
  first = null;
1505
1228
  last = null;
1506
1229
  },
1507
- notify: function notify() {
1508
- batch(function () {
1509
- var listener = first;
1230
+
1231
+ notify() {
1232
+ batch(() => {
1233
+ let listener = first;
1510
1234
 
1511
1235
  while (listener) {
1512
1236
  listener.callback();
@@ -1514,9 +1238,10 @@ function createListenerCollection() {
1514
1238
  }
1515
1239
  });
1516
1240
  },
1517
- get: function get() {
1518
- var listeners = [];
1519
- var listener = first;
1241
+
1242
+ get() {
1243
+ let listeners = [];
1244
+ let listener = first;
1520
1245
 
1521
1246
  while (listener) {
1522
1247
  listeners.push(listener);
@@ -1525,10 +1250,11 @@ function createListenerCollection() {
1525
1250
 
1526
1251
  return listeners;
1527
1252
  },
1528
- subscribe: function subscribe(callback) {
1529
- var isSubscribed = true;
1530
- var listener = last = {
1531
- callback: callback,
1253
+
1254
+ subscribe(callback) {
1255
+ let isSubscribed = true;
1256
+ let listener = last = {
1257
+ callback,
1532
1258
  next: null,
1533
1259
  prev: last
1534
1260
  };
@@ -1556,18 +1282,18 @@ function createListenerCollection() {
1556
1282
  }
1557
1283
  };
1558
1284
  }
1285
+
1559
1286
  };
1560
1287
  }
1561
1288
 
1562
- var nullListeners = {
1563
- notify: function notify() {},
1564
- get: function get() {
1565
- return [];
1566
- }
1289
+ const nullListeners = {
1290
+ notify() {},
1291
+
1292
+ get: () => []
1567
1293
  };
1568
1294
  function createSubscription(store, parentSub) {
1569
- var unsubscribe;
1570
- var listeners = nullListeners;
1295
+ let unsubscribe;
1296
+ let listeners = nullListeners;
1571
1297
 
1572
1298
  function addNestedSub(listener) {
1573
1299
  trySubscribe();
@@ -1604,16 +1330,14 @@ function createSubscription(store, parentSub) {
1604
1330
  }
1605
1331
  }
1606
1332
 
1607
- var subscription = {
1608
- addNestedSub: addNestedSub,
1609
- notifyNestedSubs: notifyNestedSubs,
1610
- handleChangeWrapper: handleChangeWrapper,
1611
- isSubscribed: isSubscribed,
1612
- trySubscribe: trySubscribe,
1613
- tryUnsubscribe: tryUnsubscribe,
1614
- getListeners: function getListeners() {
1615
- return listeners;
1616
- }
1333
+ const subscription = {
1334
+ addNestedSub,
1335
+ notifyNestedSubs,
1336
+ handleChangeWrapper,
1337
+ isSubscribed,
1338
+ trySubscribe,
1339
+ tryUnsubscribe,
1340
+ getListeners: () => listeners
1617
1341
  };
1618
1342
  return subscription;
1619
1343
  }
@@ -1628,23 +1352,19 @@ function createSubscription(store, parentSub) {
1628
1352
 
1629
1353
  __webpack_require__.r(__webpack_exports__);
1630
1354
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1631
- /* harmony export */ "setBatch": () => (/* binding */ setBatch),
1632
- /* harmony export */ "getBatch": () => (/* binding */ getBatch)
1355
+ /* harmony export */ "getBatch": () => (/* binding */ getBatch),
1356
+ /* harmony export */ "setBatch": () => (/* binding */ setBatch)
1633
1357
  /* harmony export */ });
1634
1358
  // Default to a dummy "batch" implementation that just runs the callback
1635
1359
  function defaultNoopBatch(callback) {
1636
1360
  callback();
1637
1361
  }
1638
1362
 
1639
- var batch = defaultNoopBatch; // Allow injecting another batching function later
1363
+ let batch = defaultNoopBatch; // Allow injecting another batching function later
1640
1364
 
1641
- var setBatch = function setBatch(newBatch) {
1642
- return batch = newBatch;
1643
- }; // Supply a getter just to skip dealing with ESM bindings
1365
+ const setBatch = newBatch => batch = newBatch; // Supply a getter just to skip dealing with ESM bindings
1644
1366
 
1645
- var getBatch = function getBatch() {
1646
- return batch;
1647
- };
1367
+ const getBatch = () => batch;
1648
1368
 
1649
1369
  /***/ }),
1650
1370
 
@@ -1659,20 +1379,14 @@ __webpack_require__.r(__webpack_exports__);
1659
1379
  /* harmony export */ "default": () => (/* binding */ bindActionCreators)
1660
1380
  /* harmony export */ });
1661
1381
  function bindActionCreators(actionCreators, dispatch) {
1662
- var boundActionCreators = {};
1382
+ const boundActionCreators = {};
1663
1383
 
1664
- var _loop = function _loop(key) {
1665
- var actionCreator = actionCreators[key];
1384
+ for (const key in actionCreators) {
1385
+ const actionCreator = actionCreators[key];
1666
1386
 
1667
1387
  if (typeof actionCreator === 'function') {
1668
- boundActionCreators[key] = function () {
1669
- return dispatch(actionCreator.apply(void 0, arguments));
1670
- };
1388
+ boundActionCreators[key] = (...args) => dispatch(actionCreator(...args));
1671
1389
  }
1672
- };
1673
-
1674
- for (var key in actionCreators) {
1675
- _loop(key);
1676
1390
  }
1677
1391
 
1678
1392
  return boundActionCreators;
@@ -1690,15 +1404,15 @@ __webpack_require__.r(__webpack_exports__);
1690
1404
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1691
1405
  /* harmony export */ "default": () => (/* binding */ isPlainObject)
1692
1406
  /* harmony export */ });
1693
- /**
1694
- * @param {any} obj The object to inspect.
1695
- * @returns {boolean} True if the argument appears to be a plain object.
1407
+ /**
1408
+ * @param {any} obj The object to inspect.
1409
+ * @returns {boolean} True if the argument appears to be a plain object.
1696
1410
  */
1697
1411
  function isPlainObject(obj) {
1698
1412
  if (typeof obj !== 'object' || obj === null) return false;
1699
- var proto = Object.getPrototypeOf(obj);
1413
+ let proto = Object.getPrototypeOf(obj);
1700
1414
  if (proto === null) return true;
1701
- var baseProto = proto;
1415
+ let baseProto = proto;
1702
1416
 
1703
1417
  while (Object.getPrototypeOf(baseProto) !== null) {
1704
1418
  baseProto = Object.getPrototypeOf(baseProto);
@@ -1721,7 +1435,6 @@ __webpack_require__.r(__webpack_exports__);
1721
1435
  /* harmony export */ });
1722
1436
  /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react-dom */ "webpack/sharing/consume/default/react-dom/react-dom");
1723
1437
  /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_0__);
1724
- /* eslint-disable import/no-unresolved */
1725
1438
 
1726
1439
 
1727
1440
  /***/ }),
@@ -1751,11 +1464,11 @@ function shallowEqual(objA, objB) {
1751
1464
  return false;
1752
1465
  }
1753
1466
 
1754
- var keysA = Object.keys(objA);
1755
- var keysB = Object.keys(objB);
1467
+ const keysA = Object.keys(objA);
1468
+ const keysB = Object.keys(objB);
1756
1469
  if (keysA.length !== keysB.length) return false;
1757
1470
 
1758
- for (var i = 0; i < keysA.length; i++) {
1471
+ for (let i = 0; i < keysA.length; i++) {
1759
1472
  if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {
1760
1473
  return false;
1761
1474
  }
@@ -1774,9 +1487,10 @@ function shallowEqual(objA, objB) {
1774
1487
 
1775
1488
  __webpack_require__.r(__webpack_exports__);
1776
1489
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1490
+ /* harmony export */ "canUseDOM": () => (/* binding */ canUseDOM),
1777
1491
  /* harmony export */ "useIsomorphicLayoutEffect": () => (/* binding */ useIsomorphicLayoutEffect)
1778
1492
  /* harmony export */ });
1779
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?474c");
1493
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
1780
1494
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1781
1495
  // React currently throws a warning when using useLayoutEffect on the server.
1782
1496
  // To get around it, we can conditionally useEffect on the server (no-op) and
@@ -1786,8 +1500,26 @@ __webpack_require__.r(__webpack_exports__);
1786
1500
  // which may cause missed updates; we also must ensure the store subscription
1787
1501
  // is created synchronously, otherwise a store update may occur before the
1788
1502
  // subscription is created and an inconsistent state may be observed
1503
+ // Matches logic in React's `shared/ExecutionEnvironment` file
1504
+
1505
+ const canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
1506
+ const useIsomorphicLayoutEffect = canUseDOM ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
1507
+
1508
+ /***/ }),
1509
+
1510
+ /***/ "./node_modules/react-redux/es/utils/useSyncExternalStore.js":
1511
+ /*!*******************************************************************!*\
1512
+ !*** ./node_modules/react-redux/es/utils/useSyncExternalStore.js ***!
1513
+ \*******************************************************************/
1514
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1789
1515
 
1790
- var useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;
1516
+ __webpack_require__.r(__webpack_exports__);
1517
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1518
+ /* harmony export */ "notInitialized": () => (/* binding */ notInitialized)
1519
+ /* harmony export */ });
1520
+ const notInitialized = () => {
1521
+ throw new Error('uSES not initialized!');
1522
+ };
1791
1523
 
1792
1524
  /***/ }),
1793
1525
 
@@ -1806,8 +1538,8 @@ __webpack_require__.r(__webpack_exports__);
1806
1538
 
1807
1539
 
1808
1540
  function verifyPlainObject(value, displayName, methodName) {
1809
- if (!(0,_isPlainObject__WEBPACK_IMPORTED_MODULE_0__.default)(value)) {
1810
- (0,_warning__WEBPACK_IMPORTED_MODULE_1__.default)(methodName + "() in " + displayName + " must return a plain object. Instead received " + value + ".");
1541
+ if (!(0,_isPlainObject__WEBPACK_IMPORTED_MODULE_0__["default"])(value)) {
1542
+ (0,_warning__WEBPACK_IMPORTED_MODULE_1__["default"])(`${methodName}() in ${displayName} must return a plain object. Instead received ${value}.`);
1811
1543
  }
1812
1544
  }
1813
1545
 
@@ -1823,11 +1555,11 @@ __webpack_require__.r(__webpack_exports__);
1823
1555
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1824
1556
  /* harmony export */ "default": () => (/* binding */ warning)
1825
1557
  /* harmony export */ });
1826
- /**
1827
- * Prints a warning in the console if it exists.
1828
- *
1829
- * @param {String} message The warning message.
1830
- * @returns {void}
1558
+ /**
1559
+ * Prints a warning in the console if it exists.
1560
+ *
1561
+ * @param {String} message The warning message.
1562
+ * @returns {void}
1831
1563
  */
1832
1564
  function warning(message) {
1833
1565
  /* eslint-disable no-console */
@@ -1856,7 +1588,8 @@ function warning(message) {
1856
1588
  \************************************************************************************/
1857
1589
  /***/ ((__unused_webpack_module, exports) => {
1858
1590
 
1859
- /** @license React v17.0.2
1591
+ /**
1592
+ * @license React
1860
1593
  * react-is.development.js
1861
1594
  *
1862
1595
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1874,56 +1607,39 @@ if (true) {
1874
1607
  // ATTENTION
1875
1608
  // When adding new symbols to this file,
1876
1609
  // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
1877
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1878
- // nor polyfill, then a plain number is used for performance.
1879
- var REACT_ELEMENT_TYPE = 0xeac7;
1880
- var REACT_PORTAL_TYPE = 0xeaca;
1881
- var REACT_FRAGMENT_TYPE = 0xeacb;
1882
- var REACT_STRICT_MODE_TYPE = 0xeacc;
1883
- var REACT_PROFILER_TYPE = 0xead2;
1884
- var REACT_PROVIDER_TYPE = 0xeacd;
1885
- var REACT_CONTEXT_TYPE = 0xeace;
1886
- var REACT_FORWARD_REF_TYPE = 0xead0;
1887
- var REACT_SUSPENSE_TYPE = 0xead1;
1888
- var REACT_SUSPENSE_LIST_TYPE = 0xead8;
1889
- var REACT_MEMO_TYPE = 0xead3;
1890
- var REACT_LAZY_TYPE = 0xead4;
1891
- var REACT_BLOCK_TYPE = 0xead9;
1892
- var REACT_SERVER_BLOCK_TYPE = 0xeada;
1893
- var REACT_FUNDAMENTAL_TYPE = 0xead5;
1894
- var REACT_SCOPE_TYPE = 0xead7;
1895
- var REACT_OPAQUE_ID_TYPE = 0xeae0;
1896
- var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
1897
- var REACT_OFFSCREEN_TYPE = 0xeae2;
1898
- var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
1899
-
1900
- if (typeof Symbol === 'function' && Symbol.for) {
1901
- var symbolFor = Symbol.for;
1902
- REACT_ELEMENT_TYPE = symbolFor('react.element');
1903
- REACT_PORTAL_TYPE = symbolFor('react.portal');
1904
- REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
1905
- REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
1906
- REACT_PROFILER_TYPE = symbolFor('react.profiler');
1907
- REACT_PROVIDER_TYPE = symbolFor('react.provider');
1908
- REACT_CONTEXT_TYPE = symbolFor('react.context');
1909
- REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
1910
- REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
1911
- REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
1912
- REACT_MEMO_TYPE = symbolFor('react.memo');
1913
- REACT_LAZY_TYPE = symbolFor('react.lazy');
1914
- REACT_BLOCK_TYPE = symbolFor('react.block');
1915
- REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
1916
- REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
1917
- REACT_SCOPE_TYPE = symbolFor('react.scope');
1918
- REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id');
1919
- REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
1920
- REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen');
1921
- REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
1922
- }
1923
-
1924
- // Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
1610
+ // The Symbol used to tag the ReactElement-like types.
1611
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
1612
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
1613
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
1614
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
1615
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
1616
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
1617
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
1618
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
1619
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
1620
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
1621
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
1622
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
1623
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
1624
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
1625
+
1626
+ // -----------------------------------------------------------------------------
1925
1627
 
1926
1628
  var enableScopeAPI = false; // Experimental Create Event Handle API.
1629
+ var enableCacheElement = false;
1630
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
1631
+
1632
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
1633
+ // stuff. Intended to enable React core members to more easily debug scheduling
1634
+ // issues in DEV builds.
1635
+
1636
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
1637
+
1638
+ var REACT_MODULE_REFERENCE;
1639
+
1640
+ {
1641
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
1642
+ }
1927
1643
 
1928
1644
  function isValidElementType(type) {
1929
1645
  if (typeof type === 'string' || typeof type === 'function') {
@@ -1931,12 +1647,16 @@ function isValidElementType(type) {
1931
1647
  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
1932
1648
 
1933
1649
 
1934
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
1650
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
1935
1651
  return true;
1936
1652
  }
1937
1653
 
1938
1654
  if (typeof type === 'object' && type !== null) {
1939
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
1655
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
1656
+ // types supported by any Flight configuration anywhere since
1657
+ // we don't know which Flight build this will end up being used
1658
+ // with.
1659
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
1940
1660
  return true;
1941
1661
  }
1942
1662
  }
@@ -1964,6 +1684,7 @@ function typeOf(object) {
1964
1684
  var $$typeofType = type && type.$$typeof;
1965
1685
 
1966
1686
  switch ($$typeofType) {
1687
+ case REACT_SERVER_CONTEXT_TYPE:
1967
1688
  case REACT_CONTEXT_TYPE:
1968
1689
  case REACT_FORWARD_REF_TYPE:
1969
1690
  case REACT_LAZY_TYPE:
@@ -1995,6 +1716,7 @@ var Portal = REACT_PORTAL_TYPE;
1995
1716
  var Profiler = REACT_PROFILER_TYPE;
1996
1717
  var StrictMode = REACT_STRICT_MODE_TYPE;
1997
1718
  var Suspense = REACT_SUSPENSE_TYPE;
1719
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
1998
1720
  var hasWarnedAboutDeprecatedIsAsyncMode = false;
1999
1721
  var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
2000
1722
 
@@ -2053,6 +1775,9 @@ function isStrictMode(object) {
2053
1775
  function isSuspense(object) {
2054
1776
  return typeOf(object) === REACT_SUSPENSE_TYPE;
2055
1777
  }
1778
+ function isSuspenseList(object) {
1779
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
1780
+ }
2056
1781
 
2057
1782
  exports.ContextConsumer = ContextConsumer;
2058
1783
  exports.ContextProvider = ContextProvider;
@@ -2065,6 +1790,7 @@ exports.Portal = Portal;
2065
1790
  exports.Profiler = Profiler;
2066
1791
  exports.StrictMode = StrictMode;
2067
1792
  exports.Suspense = Suspense;
1793
+ exports.SuspenseList = SuspenseList;
2068
1794
  exports.isAsyncMode = isAsyncMode;
2069
1795
  exports.isConcurrentMode = isConcurrentMode;
2070
1796
  exports.isContextConsumer = isContextConsumer;
@@ -2078,6 +1804,7 @@ exports.isPortal = isPortal;
2078
1804
  exports.isProfiler = isProfiler;
2079
1805
  exports.isStrictMode = isStrictMode;
2080
1806
  exports.isSuspense = isSuspense;
1807
+ exports.isSuspenseList = isSuspenseList;
2081
1808
  exports.isValidElementType = isValidElementType;
2082
1809
  exports.typeOf = typeOf;
2083
1810
  })();
@@ -2099,6 +1826,460 @@ if (false) {} else {
2099
1826
  }
2100
1827
 
2101
1828
 
1829
+ /***/ }),
1830
+
1831
+ /***/ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js":
1832
+ /*!**********************************************************************************************!*\
1833
+ !*** ./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js ***!
1834
+ \**********************************************************************************************/
1835
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1836
+
1837
+ /**
1838
+ * @license React
1839
+ * use-sync-external-store-shim.development.js
1840
+ *
1841
+ * Copyright (c) Facebook, Inc. and its affiliates.
1842
+ *
1843
+ * This source code is licensed under the MIT license found in the
1844
+ * LICENSE file in the root directory of this source tree.
1845
+ */
1846
+
1847
+
1848
+
1849
+ if (true) {
1850
+ (function() {
1851
+
1852
+ 'use strict';
1853
+
1854
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1855
+ if (
1856
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
1857
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
1858
+ 'function'
1859
+ ) {
1860
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
1861
+ }
1862
+ var React = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
1863
+
1864
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1865
+
1866
+ function error(format) {
1867
+ {
1868
+ {
1869
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1870
+ args[_key2 - 1] = arguments[_key2];
1871
+ }
1872
+
1873
+ printWarning('error', format, args);
1874
+ }
1875
+ }
1876
+ }
1877
+
1878
+ function printWarning(level, format, args) {
1879
+ // When changing this logic, you might want to also
1880
+ // update consoleWithStackDev.www.js as well.
1881
+ {
1882
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
1883
+ var stack = ReactDebugCurrentFrame.getStackAddendum();
1884
+
1885
+ if (stack !== '') {
1886
+ format += '%s';
1887
+ args = args.concat([stack]);
1888
+ } // eslint-disable-next-line react-internal/safe-string-coercion
1889
+
1890
+
1891
+ var argsWithFormat = args.map(function (item) {
1892
+ return String(item);
1893
+ }); // Careful: RN currently depends on this prefix
1894
+
1895
+ argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
1896
+ // breaks IE9: https://github.com/facebook/react/issues/13610
1897
+ // eslint-disable-next-line react-internal/no-production-logging
1898
+
1899
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
1900
+ }
1901
+ }
1902
+
1903
+ /**
1904
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
1905
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
1906
+ */
1907
+ function is(x, y) {
1908
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
1909
+ ;
1910
+ }
1911
+
1912
+ var objectIs = typeof Object.is === 'function' ? Object.is : is;
1913
+
1914
+ // dispatch for CommonJS interop named imports.
1915
+
1916
+ var useState = React.useState,
1917
+ useEffect = React.useEffect,
1918
+ useLayoutEffect = React.useLayoutEffect,
1919
+ useDebugValue = React.useDebugValue;
1920
+ var didWarnOld18Alpha = false;
1921
+ var didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works
1922
+ // because of a very particular set of implementation details and assumptions
1923
+ // -- change any one of them and it will break. The most important assumption
1924
+ // is that updates are always synchronous, because concurrent rendering is
1925
+ // only available in versions of React that also have a built-in
1926
+ // useSyncExternalStore API. And we only use this shim when the built-in API
1927
+ // does not exist.
1928
+ //
1929
+ // Do not assume that the clever hacks used by this hook also work in general.
1930
+ // The point of this shim is to replace the need for hacks by other libraries.
1931
+
1932
+ function useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of
1933
+ // React do not expose a way to check if we're hydrating. So users of the shim
1934
+ // will need to track that themselves and return the correct value
1935
+ // from `getSnapshot`.
1936
+ getServerSnapshot) {
1937
+ {
1938
+ if (!didWarnOld18Alpha) {
1939
+ if (React.startTransition !== undefined) {
1940
+ didWarnOld18Alpha = true;
1941
+
1942
+ error('You are using an outdated, pre-release alpha of React 18 that ' + 'does not support useSyncExternalStore. The ' + 'use-sync-external-store shim will not work correctly. Upgrade ' + 'to a newer pre-release.');
1943
+ }
1944
+ }
1945
+ } // Read the current snapshot from the store on every render. Again, this
1946
+ // breaks the rules of React, and only works here because of specific
1947
+ // implementation details, most importantly that updates are
1948
+ // always synchronous.
1949
+
1950
+
1951
+ var value = getSnapshot();
1952
+
1953
+ {
1954
+ if (!didWarnUncachedGetSnapshot) {
1955
+ var cachedValue = getSnapshot();
1956
+
1957
+ if (!objectIs(value, cachedValue)) {
1958
+ error('The result of getSnapshot should be cached to avoid an infinite loop');
1959
+
1960
+ didWarnUncachedGetSnapshot = true;
1961
+ }
1962
+ }
1963
+ } // Because updates are synchronous, we don't queue them. Instead we force a
1964
+ // re-render whenever the subscribed state changes by updating an some
1965
+ // arbitrary useState hook. Then, during render, we call getSnapshot to read
1966
+ // the current value.
1967
+ //
1968
+ // Because we don't actually use the state returned by the useState hook, we
1969
+ // can save a bit of memory by storing other stuff in that slot.
1970
+ //
1971
+ // To implement the early bailout, we need to track some things on a mutable
1972
+ // object. Usually, we would put that in a useRef hook, but we can stash it in
1973
+ // our useState hook instead.
1974
+ //
1975
+ // To force a re-render, we call forceUpdate({inst}). That works because the
1976
+ // new object always fails an equality check.
1977
+
1978
+
1979
+ var _useState = useState({
1980
+ inst: {
1981
+ value: value,
1982
+ getSnapshot: getSnapshot
1983
+ }
1984
+ }),
1985
+ inst = _useState[0].inst,
1986
+ forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated
1987
+ // in the layout phase so we can access it during the tearing check that
1988
+ // happens on subscribe.
1989
+
1990
+
1991
+ useLayoutEffect(function () {
1992
+ inst.value = value;
1993
+ inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the
1994
+ // commit phase if there was an interleaved mutation. In concurrent mode
1995
+ // this can happen all the time, but even in synchronous mode, an earlier
1996
+ // effect may have mutated the store.
1997
+
1998
+ if (checkIfSnapshotChanged(inst)) {
1999
+ // Force a re-render.
2000
+ forceUpdate({
2001
+ inst: inst
2002
+ });
2003
+ }
2004
+ }, [subscribe, value, getSnapshot]);
2005
+ useEffect(function () {
2006
+ // Check for changes right before subscribing. Subsequent changes will be
2007
+ // detected in the subscription handler.
2008
+ if (checkIfSnapshotChanged(inst)) {
2009
+ // Force a re-render.
2010
+ forceUpdate({
2011
+ inst: inst
2012
+ });
2013
+ }
2014
+
2015
+ var handleStoreChange = function () {
2016
+ // TODO: Because there is no cross-renderer API for batching updates, it's
2017
+ // up to the consumer of this library to wrap their subscription event
2018
+ // with unstable_batchedUpdates. Should we try to detect when this isn't
2019
+ // the case and print a warning in development?
2020
+ // The store changed. Check if the snapshot changed since the last time we
2021
+ // read from the store.
2022
+ if (checkIfSnapshotChanged(inst)) {
2023
+ // Force a re-render.
2024
+ forceUpdate({
2025
+ inst: inst
2026
+ });
2027
+ }
2028
+ }; // Subscribe to the store and return a clean-up function.
2029
+
2030
+
2031
+ return subscribe(handleStoreChange);
2032
+ }, [subscribe]);
2033
+ useDebugValue(value);
2034
+ return value;
2035
+ }
2036
+
2037
+ function checkIfSnapshotChanged(inst) {
2038
+ var latestGetSnapshot = inst.getSnapshot;
2039
+ var prevValue = inst.value;
2040
+
2041
+ try {
2042
+ var nextValue = latestGetSnapshot();
2043
+ return !objectIs(prevValue, nextValue);
2044
+ } catch (error) {
2045
+ return true;
2046
+ }
2047
+ }
2048
+
2049
+ function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
2050
+ // Note: The shim does not use getServerSnapshot, because pre-18 versions of
2051
+ // React do not expose a way to check if we're hydrating. So users of the shim
2052
+ // will need to track that themselves and return the correct value
2053
+ // from `getSnapshot`.
2054
+ return getSnapshot();
2055
+ }
2056
+
2057
+ var canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
2058
+
2059
+ var isServerEnvironment = !canUseDOM;
2060
+
2061
+ var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
2062
+ var useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;
2063
+
2064
+ exports.useSyncExternalStore = useSyncExternalStore$2;
2065
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
2066
+ if (
2067
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
2068
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
2069
+ 'function'
2070
+ ) {
2071
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2072
+ }
2073
+
2074
+ })();
2075
+ }
2076
+
2077
+
2078
+ /***/ }),
2079
+
2080
+ /***/ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js":
2081
+ /*!************************************************************************************************************!*\
2082
+ !*** ./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js ***!
2083
+ \************************************************************************************************************/
2084
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2085
+
2086
+ /**
2087
+ * @license React
2088
+ * use-sync-external-store-shim/with-selector.development.js
2089
+ *
2090
+ * Copyright (c) Facebook, Inc. and its affiliates.
2091
+ *
2092
+ * This source code is licensed under the MIT license found in the
2093
+ * LICENSE file in the root directory of this source tree.
2094
+ */
2095
+
2096
+
2097
+
2098
+ if (true) {
2099
+ (function() {
2100
+
2101
+ 'use strict';
2102
+
2103
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
2104
+ if (
2105
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
2106
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
2107
+ 'function'
2108
+ ) {
2109
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2110
+ }
2111
+ var React = __webpack_require__(/*! react */ "webpack/sharing/consume/default/react/react?88de");
2112
+ var shim = __webpack_require__(/*! use-sync-external-store/shim */ "./node_modules/use-sync-external-store/shim/index.js");
2113
+
2114
+ /**
2115
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
2116
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
2117
+ */
2118
+ function is(x, y) {
2119
+ return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare
2120
+ ;
2121
+ }
2122
+
2123
+ var objectIs = typeof Object.is === 'function' ? Object.is : is;
2124
+
2125
+ var useSyncExternalStore = shim.useSyncExternalStore;
2126
+
2127
+ // for CommonJS interop.
2128
+
2129
+ var useRef = React.useRef,
2130
+ useEffect = React.useEffect,
2131
+ useMemo = React.useMemo,
2132
+ useDebugValue = React.useDebugValue; // Same as useSyncExternalStore, but supports selector and isEqual arguments.
2133
+
2134
+ function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
2135
+ // Use this to track the rendered snapshot.
2136
+ var instRef = useRef(null);
2137
+ var inst;
2138
+
2139
+ if (instRef.current === null) {
2140
+ inst = {
2141
+ hasValue: false,
2142
+ value: null
2143
+ };
2144
+ instRef.current = inst;
2145
+ } else {
2146
+ inst = instRef.current;
2147
+ }
2148
+
2149
+ var _useMemo = useMemo(function () {
2150
+ // Track the memoized state using closure variables that are local to this
2151
+ // memoized instance of a getSnapshot function. Intentionally not using a
2152
+ // useRef hook, because that state would be shared across all concurrent
2153
+ // copies of the hook/component.
2154
+ var hasMemo = false;
2155
+ var memoizedSnapshot;
2156
+ var memoizedSelection;
2157
+
2158
+ var memoizedSelector = function (nextSnapshot) {
2159
+ if (!hasMemo) {
2160
+ // The first time the hook is called, there is no memoized result.
2161
+ hasMemo = true;
2162
+ memoizedSnapshot = nextSnapshot;
2163
+
2164
+ var _nextSelection = selector(nextSnapshot);
2165
+
2166
+ if (isEqual !== undefined) {
2167
+ // Even if the selector has changed, the currently rendered selection
2168
+ // may be equal to the new selection. We should attempt to reuse the
2169
+ // current value if possible, to preserve downstream memoizations.
2170
+ if (inst.hasValue) {
2171
+ var currentSelection = inst.value;
2172
+
2173
+ if (isEqual(currentSelection, _nextSelection)) {
2174
+ memoizedSelection = currentSelection;
2175
+ return currentSelection;
2176
+ }
2177
+ }
2178
+ }
2179
+
2180
+ memoizedSelection = _nextSelection;
2181
+ return _nextSelection;
2182
+ } // We may be able to reuse the previous invocation's result.
2183
+
2184
+
2185
+ // We may be able to reuse the previous invocation's result.
2186
+ var prevSnapshot = memoizedSnapshot;
2187
+ var prevSelection = memoizedSelection;
2188
+
2189
+ if (objectIs(prevSnapshot, nextSnapshot)) {
2190
+ // The snapshot is the same as last time. Reuse the previous selection.
2191
+ return prevSelection;
2192
+ } // The snapshot has changed, so we need to compute a new selection.
2193
+
2194
+
2195
+ // The snapshot has changed, so we need to compute a new selection.
2196
+ var nextSelection = selector(nextSnapshot); // If a custom isEqual function is provided, use that to check if the data
2197
+ // has changed. If it hasn't, return the previous selection. That signals
2198
+ // to React that the selections are conceptually equal, and we can bail
2199
+ // out of rendering.
2200
+
2201
+ // If a custom isEqual function is provided, use that to check if the data
2202
+ // has changed. If it hasn't, return the previous selection. That signals
2203
+ // to React that the selections are conceptually equal, and we can bail
2204
+ // out of rendering.
2205
+ if (isEqual !== undefined && isEqual(prevSelection, nextSelection)) {
2206
+ return prevSelection;
2207
+ }
2208
+
2209
+ memoizedSnapshot = nextSnapshot;
2210
+ memoizedSelection = nextSelection;
2211
+ return nextSelection;
2212
+ }; // Assigning this to a constant so that Flow knows it can't change.
2213
+
2214
+
2215
+ // Assigning this to a constant so that Flow knows it can't change.
2216
+ var maybeGetServerSnapshot = getServerSnapshot === undefined ? null : getServerSnapshot;
2217
+
2218
+ var getSnapshotWithSelector = function () {
2219
+ return memoizedSelector(getSnapshot());
2220
+ };
2221
+
2222
+ var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? undefined : function () {
2223
+ return memoizedSelector(maybeGetServerSnapshot());
2224
+ };
2225
+ return [getSnapshotWithSelector, getServerSnapshotWithSelector];
2226
+ }, [getSnapshot, getServerSnapshot, selector, isEqual]),
2227
+ getSelection = _useMemo[0],
2228
+ getServerSelection = _useMemo[1];
2229
+
2230
+ var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
2231
+ useEffect(function () {
2232
+ inst.hasValue = true;
2233
+ inst.value = value;
2234
+ }, [value]);
2235
+ useDebugValue(value);
2236
+ return value;
2237
+ }
2238
+
2239
+ exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
2240
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
2241
+ if (
2242
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
2243
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
2244
+ 'function'
2245
+ ) {
2246
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2247
+ }
2248
+
2249
+ })();
2250
+ }
2251
+
2252
+
2253
+ /***/ }),
2254
+
2255
+ /***/ "./node_modules/use-sync-external-store/shim/index.js":
2256
+ /*!************************************************************!*\
2257
+ !*** ./node_modules/use-sync-external-store/shim/index.js ***!
2258
+ \************************************************************/
2259
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2260
+
2261
+
2262
+
2263
+ if (false) {} else {
2264
+ module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim.development.js */ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js");
2265
+ }
2266
+
2267
+
2268
+ /***/ }),
2269
+
2270
+ /***/ "./node_modules/use-sync-external-store/shim/with-selector.js":
2271
+ /*!********************************************************************!*\
2272
+ !*** ./node_modules/use-sync-external-store/shim/with-selector.js ***!
2273
+ \********************************************************************/
2274
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2275
+
2276
+
2277
+
2278
+ if (false) {} else {
2279
+ module.exports = __webpack_require__(/*! ../cjs/use-sync-external-store-shim/with-selector.development.js */ "./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js");
2280
+ }
2281
+
2282
+
2102
2283
  /***/ }),
2103
2284
 
2104
2285
  /***/ "./node_modules/@babel/runtime/helpers/esm/extends.js":
@@ -2112,20 +2293,17 @@ __webpack_require__.r(__webpack_exports__);
2112
2293
  /* harmony export */ "default": () => (/* binding */ _extends)
2113
2294
  /* harmony export */ });
2114
2295
  function _extends() {
2115
- _extends = Object.assign || function (target) {
2296
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
2116
2297
  for (var i = 1; i < arguments.length; i++) {
2117
2298
  var source = arguments[i];
2118
-
2119
2299
  for (var key in source) {
2120
2300
  if (Object.prototype.hasOwnProperty.call(source, key)) {
2121
2301
  target[key] = source[key];
2122
2302
  }
2123
2303
  }
2124
2304
  }
2125
-
2126
2305
  return target;
2127
2306
  };
2128
-
2129
2307
  return _extends.apply(this, arguments);
2130
2308
  }
2131
2309
 
@@ -2146,13 +2324,11 @@ function _objectWithoutPropertiesLoose(source, excluded) {
2146
2324
  var target = {};
2147
2325
  var sourceKeys = Object.keys(source);
2148
2326
  var key, i;
2149
-
2150
2327
  for (i = 0; i < sourceKeys.length; i++) {
2151
2328
  key = sourceKeys[i];
2152
2329
  if (excluded.indexOf(key) >= 0) continue;
2153
2330
  target[key] = source[key];
2154
2331
  }
2155
-
2156
2332
  return target;
2157
2333
  }
2158
2334