@shopify/hydrogen-react 2026.1.0 → 2026.1.2

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 (287) hide show
  1. package/LICENSE.md +7 -0
  2. package/dist/browser-dev/AddToCartButton.mjs.map +1 -1
  3. package/dist/browser-dev/BuyNowButton.mjs.map +1 -1
  4. package/dist/browser-dev/CartCost.mjs.map +1 -1
  5. package/dist/browser-dev/CartLineProvider.mjs +1 -1
  6. package/dist/browser-dev/CartProvider.mjs +1 -1
  7. package/dist/browser-dev/ProductPrice.mjs.map +1 -1
  8. package/dist/browser-dev/ProductProvider.mjs +1 -1
  9. package/dist/browser-dev/ShopifyProvider.mjs +1 -1
  10. package/dist/browser-dev/ShopifyProvider.mjs.map +1 -1
  11. package/dist/browser-dev/analytics-schema-custom-storefront-customer-tracking.mjs +1 -1
  12. package/dist/{node-dev/packages/hydrogen-react → browser-dev}/package.json.mjs +1 -1
  13. package/dist/browser-dev/useCartAPIStateMachine.mjs +9 -9
  14. package/dist/browser-dev/useCartAPIStateMachine.mjs.map +1 -1
  15. package/dist/browser-dev/useMachine.mjs +68 -0
  16. package/dist/browser-dev/useMachine.mjs.map +1 -0
  17. package/dist/browser-prod/AddToCartButton.mjs.map +1 -1
  18. package/dist/browser-prod/BuyNowButton.mjs.map +1 -1
  19. package/dist/browser-prod/CartCost.mjs.map +1 -1
  20. package/dist/browser-prod/CartLineProvider.mjs +1 -1
  21. package/dist/browser-prod/CartProvider.mjs +1 -1
  22. package/dist/browser-prod/ProductPrice.mjs.map +1 -1
  23. package/dist/browser-prod/ProductProvider.mjs +1 -1
  24. package/dist/browser-prod/ShopifyProvider.mjs +1 -1
  25. package/dist/browser-prod/ShopifyProvider.mjs.map +1 -1
  26. package/dist/browser-prod/analytics-schema-custom-storefront-customer-tracking.mjs +1 -1
  27. package/dist/browser-prod/{packages/hydrogen-react/package.json.mjs → package.json.mjs} +1 -1
  28. package/dist/browser-prod/useCartAPIStateMachine.mjs +9 -9
  29. package/dist/browser-prod/useCartAPIStateMachine.mjs.map +1 -1
  30. package/dist/browser-prod/useMachine.mjs +68 -0
  31. package/dist/browser-prod/useMachine.mjs.map +1 -0
  32. package/dist/node-dev/AddToCartButton.js.map +1 -1
  33. package/dist/node-dev/AddToCartButton.mjs.map +1 -1
  34. package/dist/node-dev/BuyNowButton.js.map +1 -1
  35. package/dist/node-dev/BuyNowButton.mjs.map +1 -1
  36. package/dist/node-dev/CartCost.js.map +1 -1
  37. package/dist/node-dev/CartCost.mjs.map +1 -1
  38. package/dist/node-dev/CartLineProvider.mjs +1 -1
  39. package/dist/node-dev/CartProvider.mjs +1 -1
  40. package/dist/node-dev/ProductPrice.js.map +1 -1
  41. package/dist/node-dev/ProductPrice.mjs.map +1 -1
  42. package/dist/node-dev/ProductProvider.mjs +1 -1
  43. package/dist/node-dev/ShopifyProvider.js.map +1 -1
  44. package/dist/node-dev/ShopifyProvider.mjs +1 -1
  45. package/dist/node-dev/ShopifyProvider.mjs.map +1 -1
  46. package/dist/node-dev/analytics-schema-custom-storefront-customer-tracking.js +1 -1
  47. package/dist/node-dev/analytics-schema-custom-storefront-customer-tracking.mjs +1 -1
  48. package/dist/{node-prod/packages/hydrogen-react → node-dev}/package.json.js +1 -1
  49. package/dist/{node-prod/packages/hydrogen-react → node-dev}/package.json.mjs +1 -1
  50. package/dist/node-dev/useCartAPIStateMachine.js +10 -10
  51. package/dist/node-dev/useCartAPIStateMachine.js.map +1 -1
  52. package/dist/node-dev/useCartAPIStateMachine.mjs +9 -9
  53. package/dist/node-dev/useCartAPIStateMachine.mjs.map +1 -1
  54. package/dist/node-dev/useMachine.js +68 -0
  55. package/dist/node-dev/useMachine.js.map +1 -0
  56. package/dist/node-dev/useMachine.mjs +68 -0
  57. package/dist/node-dev/useMachine.mjs.map +1 -0
  58. package/dist/node-prod/AddToCartButton.js.map +1 -1
  59. package/dist/node-prod/AddToCartButton.mjs.map +1 -1
  60. package/dist/node-prod/BuyNowButton.js.map +1 -1
  61. package/dist/node-prod/BuyNowButton.mjs.map +1 -1
  62. package/dist/node-prod/CartCost.js.map +1 -1
  63. package/dist/node-prod/CartCost.mjs.map +1 -1
  64. package/dist/node-prod/CartLineProvider.mjs +1 -1
  65. package/dist/node-prod/CartProvider.mjs +1 -1
  66. package/dist/node-prod/ProductPrice.js.map +1 -1
  67. package/dist/node-prod/ProductPrice.mjs.map +1 -1
  68. package/dist/node-prod/ProductProvider.mjs +1 -1
  69. package/dist/node-prod/ShopifyProvider.js.map +1 -1
  70. package/dist/node-prod/ShopifyProvider.mjs +1 -1
  71. package/dist/node-prod/ShopifyProvider.mjs.map +1 -1
  72. package/dist/node-prod/analytics-schema-custom-storefront-customer-tracking.js +1 -1
  73. package/dist/node-prod/analytics-schema-custom-storefront-customer-tracking.mjs +1 -1
  74. package/dist/{node-dev/packages/hydrogen-react → node-prod}/package.json.js +1 -1
  75. package/dist/{browser-dev/packages/hydrogen-react → node-prod}/package.json.mjs +1 -1
  76. package/dist/node-prod/useCartAPIStateMachine.js +10 -10
  77. package/dist/node-prod/useCartAPIStateMachine.js.map +1 -1
  78. package/dist/node-prod/useCartAPIStateMachine.mjs +9 -9
  79. package/dist/node-prod/useCartAPIStateMachine.mjs.map +1 -1
  80. package/dist/node-prod/useMachine.js +68 -0
  81. package/dist/node-prod/useMachine.js.map +1 -0
  82. package/dist/node-prod/useMachine.mjs +68 -0
  83. package/dist/node-prod/useMachine.mjs.map +1 -0
  84. package/dist/types/useMachine.d.ts +11 -0
  85. package/dist/umd/hydrogen-react.dev.js +56 -251
  86. package/dist/umd/hydrogen-react.dev.js.map +1 -1
  87. package/dist/umd/hydrogen-react.prod.js +16 -32
  88. package/dist/umd/hydrogen-react.prod.js.map +1 -1
  89. package/package.json +38 -44
  90. package/dist/browser-dev/_virtual/index.mjs +0 -5
  91. package/dist/browser-dev/_virtual/index.mjs.map +0 -1
  92. package/dist/browser-dev/_virtual/use-sync-external-store-shim.development.mjs +0 -5
  93. package/dist/browser-dev/_virtual/use-sync-external-store-shim.development.mjs.map +0 -1
  94. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.mjs +0 -5
  95. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.mjs.map +0 -1
  96. package/dist/browser-dev/_virtual/with-selector.development.mjs +0 -5
  97. package/dist/browser-dev/_virtual/with-selector.development.mjs.map +0 -1
  98. package/dist/browser-dev/_virtual/with-selector.mjs +0 -6
  99. package/dist/browser-dev/_virtual/with-selector.mjs.map +0 -1
  100. package/dist/browser-dev/_virtual/with-selector.production.mjs +0 -5
  101. package/dist/browser-dev/_virtual/with-selector.production.mjs.map +0 -1
  102. package/dist/browser-dev/_virtual/with-selector2.mjs +0 -5
  103. package/dist/browser-dev/_virtual/with-selector2.mjs.map +0 -1
  104. package/dist/browser-dev/node_modules/@xstate/fsm/es/index.mjs +0 -151
  105. package/dist/browser-dev/node_modules/@xstate/fsm/es/index.mjs.map +0 -1
  106. package/dist/browser-dev/node_modules/@xstate/react/es/fsm.mjs +0 -89
  107. package/dist/browser-dev/node_modules/@xstate/react/es/fsm.mjs.map +0 -1
  108. package/dist/browser-dev/node_modules/@xstate/react/es/useConstant.mjs +0 -12
  109. package/dist/browser-dev/node_modules/@xstate/react/es/useConstant.mjs.map +0 -1
  110. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -82
  111. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -1
  112. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +0 -78
  113. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +0 -1
  114. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -78
  115. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -1
  116. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +0 -63
  117. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +0 -1
  118. package/dist/browser-dev/node_modules/use-sync-external-store/shim/index.mjs +0 -18
  119. package/dist/browser-dev/node_modules/use-sync-external-store/shim/index.mjs.map +0 -1
  120. package/dist/browser-dev/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -18
  121. package/dist/browser-dev/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -1
  122. package/dist/browser-prod/_virtual/index.mjs +0 -5
  123. package/dist/browser-prod/_virtual/index.mjs.map +0 -1
  124. package/dist/browser-prod/_virtual/use-sync-external-store-shim.development.mjs +0 -5
  125. package/dist/browser-prod/_virtual/use-sync-external-store-shim.development.mjs.map +0 -1
  126. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.mjs +0 -5
  127. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.mjs.map +0 -1
  128. package/dist/browser-prod/_virtual/with-selector.development.mjs +0 -5
  129. package/dist/browser-prod/_virtual/with-selector.development.mjs.map +0 -1
  130. package/dist/browser-prod/_virtual/with-selector.mjs +0 -6
  131. package/dist/browser-prod/_virtual/with-selector.mjs.map +0 -1
  132. package/dist/browser-prod/_virtual/with-selector.production.mjs +0 -5
  133. package/dist/browser-prod/_virtual/with-selector.production.mjs.map +0 -1
  134. package/dist/browser-prod/_virtual/with-selector2.mjs +0 -5
  135. package/dist/browser-prod/_virtual/with-selector2.mjs.map +0 -1
  136. package/dist/browser-prod/node_modules/@xstate/fsm/es/index.mjs +0 -151
  137. package/dist/browser-prod/node_modules/@xstate/fsm/es/index.mjs.map +0 -1
  138. package/dist/browser-prod/node_modules/@xstate/react/es/fsm.mjs +0 -89
  139. package/dist/browser-prod/node_modules/@xstate/react/es/fsm.mjs.map +0 -1
  140. package/dist/browser-prod/node_modules/@xstate/react/es/useConstant.mjs +0 -12
  141. package/dist/browser-prod/node_modules/@xstate/react/es/useConstant.mjs.map +0 -1
  142. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -82
  143. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -1
  144. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +0 -78
  145. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +0 -1
  146. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -78
  147. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -1
  148. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +0 -63
  149. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +0 -1
  150. package/dist/browser-prod/node_modules/use-sync-external-store/shim/index.mjs +0 -18
  151. package/dist/browser-prod/node_modules/use-sync-external-store/shim/index.mjs.map +0 -1
  152. package/dist/browser-prod/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -18
  153. package/dist/browser-prod/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -1
  154. package/dist/node-dev/_virtual/index.js +0 -5
  155. package/dist/node-dev/_virtual/index.js.map +0 -1
  156. package/dist/node-dev/_virtual/index.mjs +0 -5
  157. package/dist/node-dev/_virtual/index.mjs.map +0 -1
  158. package/dist/node-dev/_virtual/use-sync-external-store-shim.development.js +0 -5
  159. package/dist/node-dev/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  160. package/dist/node-dev/_virtual/use-sync-external-store-shim.development.mjs +0 -5
  161. package/dist/node-dev/_virtual/use-sync-external-store-shim.development.mjs.map +0 -1
  162. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.js +0 -5
  163. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  164. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.mjs +0 -5
  165. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.mjs.map +0 -1
  166. package/dist/node-dev/_virtual/with-selector.development.js +0 -5
  167. package/dist/node-dev/_virtual/with-selector.development.js.map +0 -1
  168. package/dist/node-dev/_virtual/with-selector.development.mjs +0 -5
  169. package/dist/node-dev/_virtual/with-selector.development.mjs.map +0 -1
  170. package/dist/node-dev/_virtual/with-selector.js +0 -6
  171. package/dist/node-dev/_virtual/with-selector.js.map +0 -1
  172. package/dist/node-dev/_virtual/with-selector.mjs +0 -6
  173. package/dist/node-dev/_virtual/with-selector.mjs.map +0 -1
  174. package/dist/node-dev/_virtual/with-selector.production.js +0 -5
  175. package/dist/node-dev/_virtual/with-selector.production.js.map +0 -1
  176. package/dist/node-dev/_virtual/with-selector.production.mjs +0 -5
  177. package/dist/node-dev/_virtual/with-selector.production.mjs.map +0 -1
  178. package/dist/node-dev/_virtual/with-selector2.js +0 -5
  179. package/dist/node-dev/_virtual/with-selector2.js.map +0 -1
  180. package/dist/node-dev/_virtual/with-selector2.mjs +0 -5
  181. package/dist/node-dev/_virtual/with-selector2.mjs.map +0 -1
  182. package/dist/node-dev/node_modules/@xstate/fsm/es/index.js +0 -150
  183. package/dist/node-dev/node_modules/@xstate/fsm/es/index.js.map +0 -1
  184. package/dist/node-dev/node_modules/@xstate/fsm/es/index.mjs +0 -151
  185. package/dist/node-dev/node_modules/@xstate/fsm/es/index.mjs.map +0 -1
  186. package/dist/node-dev/node_modules/@xstate/react/es/fsm.js +0 -89
  187. package/dist/node-dev/node_modules/@xstate/react/es/fsm.js.map +0 -1
  188. package/dist/node-dev/node_modules/@xstate/react/es/fsm.mjs +0 -89
  189. package/dist/node-dev/node_modules/@xstate/react/es/fsm.mjs.map +0 -1
  190. package/dist/node-dev/node_modules/@xstate/react/es/useConstant.js +0 -28
  191. package/dist/node-dev/node_modules/@xstate/react/es/useConstant.js.map +0 -1
  192. package/dist/node-dev/node_modules/@xstate/react/es/useConstant.mjs +0 -12
  193. package/dist/node-dev/node_modules/@xstate/react/es/useConstant.mjs.map +0 -1
  194. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -82
  195. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  196. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -82
  197. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -1
  198. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -78
  199. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  200. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +0 -78
  201. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +0 -1
  202. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -78
  203. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  204. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -78
  205. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -1
  206. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -63
  207. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  208. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +0 -63
  209. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +0 -1
  210. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.js +0 -18
  211. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  212. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs +0 -18
  213. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs.map +0 -1
  214. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.js +0 -18
  215. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
  216. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -18
  217. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -1
  218. package/dist/node-prod/_virtual/index.js +0 -5
  219. package/dist/node-prod/_virtual/index.js.map +0 -1
  220. package/dist/node-prod/_virtual/index.mjs +0 -5
  221. package/dist/node-prod/_virtual/index.mjs.map +0 -1
  222. package/dist/node-prod/_virtual/use-sync-external-store-shim.development.js +0 -5
  223. package/dist/node-prod/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  224. package/dist/node-prod/_virtual/use-sync-external-store-shim.development.mjs +0 -5
  225. package/dist/node-prod/_virtual/use-sync-external-store-shim.development.mjs.map +0 -1
  226. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.js +0 -5
  227. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  228. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.mjs +0 -5
  229. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.mjs.map +0 -1
  230. package/dist/node-prod/_virtual/with-selector.development.js +0 -5
  231. package/dist/node-prod/_virtual/with-selector.development.js.map +0 -1
  232. package/dist/node-prod/_virtual/with-selector.development.mjs +0 -5
  233. package/dist/node-prod/_virtual/with-selector.development.mjs.map +0 -1
  234. package/dist/node-prod/_virtual/with-selector.js +0 -6
  235. package/dist/node-prod/_virtual/with-selector.js.map +0 -1
  236. package/dist/node-prod/_virtual/with-selector.mjs +0 -6
  237. package/dist/node-prod/_virtual/with-selector.mjs.map +0 -1
  238. package/dist/node-prod/_virtual/with-selector.production.js +0 -5
  239. package/dist/node-prod/_virtual/with-selector.production.js.map +0 -1
  240. package/dist/node-prod/_virtual/with-selector.production.mjs +0 -5
  241. package/dist/node-prod/_virtual/with-selector.production.mjs.map +0 -1
  242. package/dist/node-prod/_virtual/with-selector2.js +0 -5
  243. package/dist/node-prod/_virtual/with-selector2.js.map +0 -1
  244. package/dist/node-prod/_virtual/with-selector2.mjs +0 -5
  245. package/dist/node-prod/_virtual/with-selector2.mjs.map +0 -1
  246. package/dist/node-prod/node_modules/@xstate/fsm/es/index.js +0 -150
  247. package/dist/node-prod/node_modules/@xstate/fsm/es/index.js.map +0 -1
  248. package/dist/node-prod/node_modules/@xstate/fsm/es/index.mjs +0 -151
  249. package/dist/node-prod/node_modules/@xstate/fsm/es/index.mjs.map +0 -1
  250. package/dist/node-prod/node_modules/@xstate/react/es/fsm.js +0 -89
  251. package/dist/node-prod/node_modules/@xstate/react/es/fsm.js.map +0 -1
  252. package/dist/node-prod/node_modules/@xstate/react/es/fsm.mjs +0 -89
  253. package/dist/node-prod/node_modules/@xstate/react/es/fsm.mjs.map +0 -1
  254. package/dist/node-prod/node_modules/@xstate/react/es/useConstant.js +0 -28
  255. package/dist/node-prod/node_modules/@xstate/react/es/useConstant.js.map +0 -1
  256. package/dist/node-prod/node_modules/@xstate/react/es/useConstant.mjs +0 -12
  257. package/dist/node-prod/node_modules/@xstate/react/es/useConstant.mjs.map +0 -1
  258. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -82
  259. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  260. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -82
  261. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +0 -1
  262. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -78
  263. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  264. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +0 -78
  265. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +0 -1
  266. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -78
  267. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  268. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -78
  269. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +0 -1
  270. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -63
  271. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  272. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +0 -63
  273. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +0 -1
  274. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.js +0 -18
  275. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  276. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs +0 -18
  277. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs.map +0 -1
  278. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.js +0 -18
  279. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
  280. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -18
  281. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs.map +0 -1
  282. /package/dist/browser-dev/{packages/hydrogen-react/package.json.mjs.map → package.json.mjs.map} +0 -0
  283. /package/dist/browser-prod/{packages/hydrogen-react/package.json.mjs.map → package.json.mjs.map} +0 -0
  284. /package/dist/node-dev/{packages/hydrogen-react/package.json.js.map → package.json.js.map} +0 -0
  285. /package/dist/node-dev/{packages/hydrogen-react/package.json.mjs.map → package.json.mjs.map} +0 -0
  286. /package/dist/node-prod/{packages/hydrogen-react/package.json.js.map → package.json.js.map} +0 -0
  287. /package/dist/node-prod/{packages/hydrogen-react/package.json.mjs.map → package.json.mjs.map} +0 -0
@@ -1,82 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const withSelector_development = require("../../../../_virtual/with-selector.development.js");
4
- const React = require("react");
5
- const index = require("../../shim/index.js");
6
- /**
7
- * @license React
8
- * use-sync-external-store-shim/with-selector.development.js
9
- *
10
- * Copyright (c) Meta Platforms, Inc. and affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
- var hasRequiredWithSelector_development;
16
- function requireWithSelector_development() {
17
- if (hasRequiredWithSelector_development) return withSelector_development.__exports;
18
- hasRequiredWithSelector_development = 1;
19
- "production" !== process.env.NODE_ENV && (function() {
20
- function is(x, y) {
21
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
22
- }
23
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
24
- var React$1 = React, shim = index.__require(), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React$1.useRef, useEffect = React$1.useEffect, useMemo = React$1.useMemo, useDebugValue = React$1.useDebugValue;
25
- withSelector_development.__exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
26
- var instRef = useRef(null);
27
- if (null === instRef.current) {
28
- var inst = { hasValue: false, value: null };
29
- instRef.current = inst;
30
- } else inst = instRef.current;
31
- instRef = useMemo(
32
- function() {
33
- function memoizedSelector(nextSnapshot) {
34
- if (!hasMemo) {
35
- hasMemo = true;
36
- memoizedSnapshot = nextSnapshot;
37
- nextSnapshot = selector(nextSnapshot);
38
- if (void 0 !== isEqual && inst.hasValue) {
39
- var currentSelection = inst.value;
40
- if (isEqual(currentSelection, nextSnapshot))
41
- return memoizedSelection = currentSelection;
42
- }
43
- return memoizedSelection = nextSnapshot;
44
- }
45
- currentSelection = memoizedSelection;
46
- if (objectIs(memoizedSnapshot, nextSnapshot))
47
- return currentSelection;
48
- var nextSelection = selector(nextSnapshot);
49
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
50
- return memoizedSnapshot = nextSnapshot, currentSelection;
51
- memoizedSnapshot = nextSnapshot;
52
- return memoizedSelection = nextSelection;
53
- }
54
- var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
55
- return [
56
- function() {
57
- return memoizedSelector(getSnapshot());
58
- },
59
- null === maybeGetServerSnapshot ? void 0 : function() {
60
- return memoizedSelector(maybeGetServerSnapshot());
61
- }
62
- ];
63
- },
64
- [getSnapshot, getServerSnapshot, selector, isEqual]
65
- );
66
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
67
- useEffect(
68
- function() {
69
- inst.hasValue = true;
70
- inst.value = value;
71
- },
72
- [value]
73
- );
74
- useDebugValue(value);
75
- return value;
76
- };
77
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
78
- })();
79
- return withSelector_development.__exports;
80
- }
81
- exports.__require = requireWithSelector_development;
82
- //# sourceMappingURL=with-selector.development.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.development.js","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["React","require$$0","require$$1","withSelector_development"],"mappings":";;;;;;;;;;;;;;;;;;AAWA,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,GAAG,GAAG,GAAG;AAChB,aAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,IAC5E;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,OAAO;AACpE,QAAIA,UAAQC,OACV,OAAOC,MAAAA,UAAA,GACP,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,uBAAuB,KAAK,sBAC5B,SAASF,QAAM,QACf,YAAYA,QAAM,WAClB,UAAUA,QAAM,SAChB,gBAAgBA,QAAM;AACxBG,6BAAAA,6CAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,UAAI,UAAU,OAAO,IAAI;AACzB,UAAI,SAAS,QAAQ,SAAS;AAC5B,YAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,gBAAQ,UAAU;AAAA,MAC1B,MAAa,QAAO,QAAQ;AACtB,gBAAU;AAAA,QACR,WAAY;AACV,mBAAS,iBAAiB,cAAc;AACtC,gBAAI,CAAC,SAAS;AACZ,wBAAU;AACV,iCAAmB;AACnB,6BAAe,SAAS,YAAY;AACpC,kBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,oBAAI,mBAAmB,KAAK;AAC5B,oBAAI,QAAQ,kBAAkB,YAAY;AACxC,yBAAQ,oBAAoB;AAAA,cAC9C;AACc,qBAAQ,oBAAoB;AAAA,YAC1C;AACY,+BAAmB;AACnB,gBAAI,SAAS,kBAAkB,YAAY;AACzC,qBAAO;AACT,gBAAI,gBAAgB,SAAS,YAAY;AACzC,gBAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,qBAAQ,mBAAmB,cAAe;AAC5C,+BAAmB;AACnB,mBAAQ,oBAAoB;AAAA,UACxC;AACU,cAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,iBAAO;AAAA,YACL,WAAY;AACV,qBAAO,iBAAiB,aAAa;AAAA,YACnD;AAAA,YACY,SAAS,yBACL,SACA,WAAY;AACV,qBAAO,iBAAiB,wBAAwB;AAAA,YAClE;AAAA;QAEA;AAAA,QACQ,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,UAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,QACE,WAAY;AACV,eAAK,WAAW;AAChB,eAAK,QAAQ;AAAA,QACvB;AAAA,QACQ,CAAC,KAAK;AAAA;AAER,oBAAc,KAAK;AACnB,aAAO;AAAA,IACb;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,82 +0,0 @@
1
- import { __exports as withSelector_development } from "../../../../_virtual/with-selector.development.mjs";
2
- import React__default from "react";
3
- import { __require as requireShim } from "../../shim/index.mjs";
4
- /**
5
- * @license React
6
- * use-sync-external-store-shim/with-selector.development.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var hasRequiredWithSelector_development;
14
- function requireWithSelector_development() {
15
- if (hasRequiredWithSelector_development) return withSelector_development;
16
- hasRequiredWithSelector_development = 1;
17
- "production" !== process.env.NODE_ENV && (function() {
18
- function is(x, y) {
19
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
20
- }
21
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
22
- var React = React__default, shim = requireShim(), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
23
- withSelector_development.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
24
- var instRef = useRef(null);
25
- if (null === instRef.current) {
26
- var inst = { hasValue: false, value: null };
27
- instRef.current = inst;
28
- } else inst = instRef.current;
29
- instRef = useMemo(
30
- function() {
31
- function memoizedSelector(nextSnapshot) {
32
- if (!hasMemo) {
33
- hasMemo = true;
34
- memoizedSnapshot = nextSnapshot;
35
- nextSnapshot = selector(nextSnapshot);
36
- if (void 0 !== isEqual && inst.hasValue) {
37
- var currentSelection = inst.value;
38
- if (isEqual(currentSelection, nextSnapshot))
39
- return memoizedSelection = currentSelection;
40
- }
41
- return memoizedSelection = nextSnapshot;
42
- }
43
- currentSelection = memoizedSelection;
44
- if (objectIs(memoizedSnapshot, nextSnapshot))
45
- return currentSelection;
46
- var nextSelection = selector(nextSnapshot);
47
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
48
- return memoizedSnapshot = nextSnapshot, currentSelection;
49
- memoizedSnapshot = nextSnapshot;
50
- return memoizedSelection = nextSelection;
51
- }
52
- var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
53
- return [
54
- function() {
55
- return memoizedSelector(getSnapshot());
56
- },
57
- null === maybeGetServerSnapshot ? void 0 : function() {
58
- return memoizedSelector(maybeGetServerSnapshot());
59
- }
60
- ];
61
- },
62
- [getSnapshot, getServerSnapshot, selector, isEqual]
63
- );
64
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
65
- useEffect(
66
- function() {
67
- inst.hasValue = true;
68
- inst.value = value;
69
- },
70
- [value]
71
- );
72
- useDebugValue(value);
73
- return value;
74
- };
75
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
76
- })();
77
- return withSelector_development;
78
- }
79
- export {
80
- requireWithSelector_development as __require
81
- };
82
- //# sourceMappingURL=with-selector.development.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.development.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAWA,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,GAAG,GAAG,GAAG;AAChB,aAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,IAC5E;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,OAAO;AACpE,QAAI,QAAQA,gBACV,OAAOC,YAAA,GACP,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,uBAAuB,KAAK,sBAC5B,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AACxB,gEAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,UAAI,UAAU,OAAO,IAAI;AACzB,UAAI,SAAS,QAAQ,SAAS;AAC5B,YAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,gBAAQ,UAAU;AAAA,MAC1B,MAAa,QAAO,QAAQ;AACtB,gBAAU;AAAA,QACR,WAAY;AACV,mBAAS,iBAAiB,cAAc;AACtC,gBAAI,CAAC,SAAS;AACZ,wBAAU;AACV,iCAAmB;AACnB,6BAAe,SAAS,YAAY;AACpC,kBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,oBAAI,mBAAmB,KAAK;AAC5B,oBAAI,QAAQ,kBAAkB,YAAY;AACxC,yBAAQ,oBAAoB;AAAA,cAC9C;AACc,qBAAQ,oBAAoB;AAAA,YAC1C;AACY,+BAAmB;AACnB,gBAAI,SAAS,kBAAkB,YAAY;AACzC,qBAAO;AACT,gBAAI,gBAAgB,SAAS,YAAY;AACzC,gBAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,qBAAQ,mBAAmB,cAAe;AAC5C,+BAAmB;AACnB,mBAAQ,oBAAoB;AAAA,UACxC;AACU,cAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,iBAAO;AAAA,YACL,WAAY;AACV,qBAAO,iBAAiB,aAAa;AAAA,YACnD;AAAA,YACY,SAAS,yBACL,SACA,WAAY;AACV,qBAAO,iBAAiB,wBAAwB;AAAA,YAClE;AAAA;QAEA;AAAA,QACQ,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,UAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,QACE,WAAY;AACV,eAAK,WAAW;AAChB,eAAK,QAAQ;AAAA,QACvB;AAAA,QACQ,CAAC,KAAK;AAAA;AAER,oBAAc,KAAK;AACnB,aAAO;AAAA,IACb;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;","x_google_ignoreList":[0]}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const withSelector_production = require("../../../../_virtual/with-selector.production.js");
4
- const React = require("react");
5
- const index = require("../../shim/index.js");
6
- /**
7
- * @license React
8
- * use-sync-external-store-shim/with-selector.production.js
9
- *
10
- * Copyright (c) Meta Platforms, Inc. and affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
- var hasRequiredWithSelector_production;
16
- function requireWithSelector_production() {
17
- if (hasRequiredWithSelector_production) return withSelector_production.__exports;
18
- hasRequiredWithSelector_production = 1;
19
- var React$1 = React, shim = index.__require();
20
- function is(x, y) {
21
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
22
- }
23
- var objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React$1.useRef, useEffect = React$1.useEffect, useMemo = React$1.useMemo, useDebugValue = React$1.useDebugValue;
24
- withSelector_production.__exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
25
- var instRef = useRef(null);
26
- if (null === instRef.current) {
27
- var inst = { hasValue: false, value: null };
28
- instRef.current = inst;
29
- } else inst = instRef.current;
30
- instRef = useMemo(
31
- function() {
32
- function memoizedSelector(nextSnapshot) {
33
- if (!hasMemo) {
34
- hasMemo = true;
35
- memoizedSnapshot = nextSnapshot;
36
- nextSnapshot = selector(nextSnapshot);
37
- if (void 0 !== isEqual && inst.hasValue) {
38
- var currentSelection = inst.value;
39
- if (isEqual(currentSelection, nextSnapshot))
40
- return memoizedSelection = currentSelection;
41
- }
42
- return memoizedSelection = nextSnapshot;
43
- }
44
- currentSelection = memoizedSelection;
45
- if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
46
- var nextSelection = selector(nextSnapshot);
47
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
48
- return memoizedSnapshot = nextSnapshot, currentSelection;
49
- memoizedSnapshot = nextSnapshot;
50
- return memoizedSelection = nextSelection;
51
- }
52
- var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
53
- return [
54
- function() {
55
- return memoizedSelector(getSnapshot());
56
- },
57
- null === maybeGetServerSnapshot ? void 0 : function() {
58
- return memoizedSelector(maybeGetServerSnapshot());
59
- }
60
- ];
61
- },
62
- [getSnapshot, getServerSnapshot, selector, isEqual]
63
- );
64
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
65
- useEffect(
66
- function() {
67
- inst.hasValue = true;
68
- inst.value = value;
69
- },
70
- [value]
71
- );
72
- useDebugValue(value);
73
- return value;
74
- };
75
- return withSelector_production.__exports;
76
- }
77
- exports.__require = requireWithSelector_production;
78
- //# sourceMappingURL=with-selector.production.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.production.js","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"names":["React","require$$0","require$$1","withSelector_production"],"mappings":";;;;;;;;;;;;;;;;;;AAWA,MAAIA,UAAQC,OACV,OAAOC,MAAAA,UAAA;AACT,WAAS,GAAG,GAAG,GAAG;AAChB,WAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,EACxE;AACA,MAAI,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IAC3D,uBAAuB,KAAK,sBAC5B,SAASF,QAAM,QACf,YAAYA,QAAM,WAClB,UAAUA,QAAM,SAChB,gBAAgBA,QAAM;AACxBG,0BAAAA,UAAA,mCAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,QAAI,UAAU,OAAO,IAAI;AACzB,QAAI,SAAS,QAAQ,SAAS;AAC5B,UAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,cAAQ,UAAU;AAAA,IACtB,MAAS,QAAO,QAAQ;AACtB,cAAU;AAAA,MACR,WAAY;AACV,iBAAS,iBAAiB,cAAc;AACtC,cAAI,CAAC,SAAS;AACZ,sBAAU;AACV,+BAAmB;AACnB,2BAAe,SAAS,YAAY;AACpC,gBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,kBAAI,mBAAmB,KAAK;AAC5B,kBAAI,QAAQ,kBAAkB,YAAY;AACxC,uBAAQ,oBAAoB;AAAA,YAC1C;AACU,mBAAQ,oBAAoB;AAAA,UACtC;AACQ,6BAAmB;AACnB,cAAI,SAAS,kBAAkB,YAAY,EAAG,QAAO;AACrD,cAAI,gBAAgB,SAAS,YAAY;AACzC,cAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,mBAAQ,mBAAmB,cAAe;AAC5C,6BAAmB;AACnB,iBAAQ,oBAAoB;AAAA,QACpC;AACM,YAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,eAAO;AAAA,UACL,WAAY;AACV,mBAAO,iBAAiB,aAAa;AAAA,UAC/C;AAAA,UACQ,SAAS,yBACL,SACA,WAAY;AACV,mBAAO,iBAAiB,wBAAwB;AAAA,UAC9D;AAAA;MAEA;AAAA,MACI,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,QAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,MACE,WAAY;AACV,aAAK,WAAW;AAChB,aAAK,QAAQ;AAAA,MACnB;AAAA,MACI,CAAC,KAAK;AAAA;AAER,kBAAc,KAAK;AACnB,WAAO;AAAA,EACT;;;;","x_google_ignoreList":[0]}
@@ -1,78 +0,0 @@
1
- import { __exports as withSelector_production } from "../../../../_virtual/with-selector.production.mjs";
2
- import React__default from "react";
3
- import { __require as requireShim } from "../../shim/index.mjs";
4
- /**
5
- * @license React
6
- * use-sync-external-store-shim/with-selector.production.js
7
- *
8
- * Copyright (c) Meta Platforms, Inc. and affiliates.
9
- *
10
- * This source code is licensed under the MIT license found in the
11
- * LICENSE file in the root directory of this source tree.
12
- */
13
- var hasRequiredWithSelector_production;
14
- function requireWithSelector_production() {
15
- if (hasRequiredWithSelector_production) return withSelector_production;
16
- hasRequiredWithSelector_production = 1;
17
- var React = React__default, shim = requireShim();
18
- function is(x, y) {
19
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
20
- }
21
- var objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
22
- withSelector_production.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
23
- var instRef = useRef(null);
24
- if (null === instRef.current) {
25
- var inst = { hasValue: false, value: null };
26
- instRef.current = inst;
27
- } else inst = instRef.current;
28
- instRef = useMemo(
29
- function() {
30
- function memoizedSelector(nextSnapshot) {
31
- if (!hasMemo) {
32
- hasMemo = true;
33
- memoizedSnapshot = nextSnapshot;
34
- nextSnapshot = selector(nextSnapshot);
35
- if (void 0 !== isEqual && inst.hasValue) {
36
- var currentSelection = inst.value;
37
- if (isEqual(currentSelection, nextSnapshot))
38
- return memoizedSelection = currentSelection;
39
- }
40
- return memoizedSelection = nextSnapshot;
41
- }
42
- currentSelection = memoizedSelection;
43
- if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
44
- var nextSelection = selector(nextSnapshot);
45
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
46
- return memoizedSnapshot = nextSnapshot, currentSelection;
47
- memoizedSnapshot = nextSnapshot;
48
- return memoizedSelection = nextSelection;
49
- }
50
- var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
51
- return [
52
- function() {
53
- return memoizedSelector(getSnapshot());
54
- },
55
- null === maybeGetServerSnapshot ? void 0 : function() {
56
- return memoizedSelector(maybeGetServerSnapshot());
57
- }
58
- ];
59
- },
60
- [getSnapshot, getServerSnapshot, selector, isEqual]
61
- );
62
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
63
- useEffect(
64
- function() {
65
- inst.hasValue = true;
66
- inst.value = value;
67
- },
68
- [value]
69
- );
70
- useDebugValue(value);
71
- return value;
72
- };
73
- return withSelector_production;
74
- }
75
- export {
76
- requireWithSelector_production as __require
77
- };
78
- //# sourceMappingURL=with-selector.production.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"with-selector.production.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAWA,MAAI,QAAQA,gBACV,OAAOC,YAAA;AACT,WAAS,GAAG,GAAG,GAAG;AAChB,WAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,EACxE;AACA,MAAI,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IAC3D,uBAAuB,KAAK,sBAC5B,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AACxB,0BAAA,mCAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,QAAI,UAAU,OAAO,IAAI;AACzB,QAAI,SAAS,QAAQ,SAAS;AAC5B,UAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,cAAQ,UAAU;AAAA,IACtB,MAAS,QAAO,QAAQ;AACtB,cAAU;AAAA,MACR,WAAY;AACV,iBAAS,iBAAiB,cAAc;AACtC,cAAI,CAAC,SAAS;AACZ,sBAAU;AACV,+BAAmB;AACnB,2BAAe,SAAS,YAAY;AACpC,gBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,kBAAI,mBAAmB,KAAK;AAC5B,kBAAI,QAAQ,kBAAkB,YAAY;AACxC,uBAAQ,oBAAoB;AAAA,YAC1C;AACU,mBAAQ,oBAAoB;AAAA,UACtC;AACQ,6BAAmB;AACnB,cAAI,SAAS,kBAAkB,YAAY,EAAG,QAAO;AACrD,cAAI,gBAAgB,SAAS,YAAY;AACzC,cAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,mBAAQ,mBAAmB,cAAe;AAC5C,6BAAmB;AACnB,iBAAQ,oBAAoB;AAAA,QACpC;AACM,YAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,eAAO;AAAA,UACL,WAAY;AACV,mBAAO,iBAAiB,aAAa;AAAA,UAC/C;AAAA,UACQ,SAAS,yBACL,SACA,WAAY;AACV,mBAAO,iBAAiB,wBAAwB;AAAA,UAC9D;AAAA;MAEA;AAAA,MACI,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,QAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,MACE,WAAY;AACV,aAAK,WAAW;AAChB,aAAK,QAAQ;AAAA,MACnB;AAAA,MACI,CAAC,KAAK;AAAA;AAER,kBAAc,KAAK;AACnB,WAAO;AAAA,EACT;;;","x_google_ignoreList":[0]}
@@ -1,78 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const useSyncExternalStoreShim_development = require("../../../_virtual/use-sync-external-store-shim.development.js");
4
- const React = require("react");
5
- /**
6
- * @license React
7
- * use-sync-external-store-shim.development.js
8
- *
9
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
- var hasRequiredUseSyncExternalStoreShim_development;
15
- function requireUseSyncExternalStoreShim_development() {
16
- if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development.__exports;
17
- hasRequiredUseSyncExternalStoreShim_development = 1;
18
- "production" !== process.env.NODE_ENV && (function() {
19
- function is(x, y) {
20
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
21
- }
22
- function useSyncExternalStore$2(subscribe, getSnapshot) {
23
- didWarnOld18Alpha || void 0 === React$1.startTransition || (didWarnOld18Alpha = true, console.error(
24
- "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."
25
- ));
26
- var value = getSnapshot();
27
- if (!didWarnUncachedGetSnapshot) {
28
- var cachedValue = getSnapshot();
29
- objectIs(value, cachedValue) || (console.error(
30
- "The result of getSnapshot should be cached to avoid an infinite loop"
31
- ), didWarnUncachedGetSnapshot = true);
32
- }
33
- cachedValue = useState({
34
- inst: { value, getSnapshot }
35
- });
36
- var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
37
- useLayoutEffect(
38
- function() {
39
- inst.value = value;
40
- inst.getSnapshot = getSnapshot;
41
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
42
- },
43
- [subscribe, value, getSnapshot]
44
- );
45
- useEffect(
46
- function() {
47
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
48
- return subscribe(function() {
49
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
50
- });
51
- },
52
- [subscribe]
53
- );
54
- useDebugValue(value);
55
- return value;
56
- }
57
- function checkIfSnapshotChanged(inst) {
58
- var latestGetSnapshot = inst.getSnapshot;
59
- inst = inst.value;
60
- try {
61
- var nextValue = latestGetSnapshot();
62
- return !objectIs(inst, nextValue);
63
- } catch (error) {
64
- return true;
65
- }
66
- }
67
- function useSyncExternalStore$1(subscribe, getSnapshot) {
68
- return getSnapshot();
69
- }
70
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
71
- var React$1 = React, objectIs = "function" === typeof Object.is ? Object.is : is, useState = React$1.useState, useEffect = React$1.useEffect, useLayoutEffect = React$1.useLayoutEffect, useDebugValue = React$1.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
72
- useSyncExternalStoreShim_development.__exports.useSyncExternalStore = void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
73
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
74
- })();
75
- return useSyncExternalStoreShim_development.__exports;
76
- }
77
- exports.__require = requireUseSyncExternalStoreShim_development;
78
- //# sourceMappingURL=use-sync-external-store-shim.development.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.development.js","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"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.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["React","require$$0","useSyncExternalStoreShim_development"],"mappings":";;;;;;;;;;;;;;;;;AAWA,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,GAAG,GAAG,GAAG;AAChB,aAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,IAC5E;AACI,aAAS,uBAAuB,WAAW,aAAa;AACtD,2BACE,WAAWA,QAAM,oBACf,oBAAoB,MACtB,QAAQ;AAAA,QACN;AAAA,MACV;AACM,UAAI,QAAQ,YAAW;AACvB,UAAI,CAAC,4BAA4B;AAC/B,YAAI,cAAc,YAAW;AAC7B,iBAAS,OAAO,WAAW,MACxB,QAAQ;AAAA,UACP;AAAA,WAED,6BAA6B;AAAA,MACxC;AACM,oBAAc,SAAS;AAAA,QACrB,MAAM,EAAE,OAAc,YAAwB;AAAA,MACtD,CAAO;AACD,UAAI,OAAO,YAAY,CAAC,EAAE,MACxB,cAAc,YAAY,CAAC;AAC7B;AAAA,QACE,WAAY;AACV,eAAK,QAAQ;AACb,eAAK,cAAc;AACnB,iCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,QACpE;AAAA,QACQ,CAAC,WAAW,OAAO,WAAW;AAAA;AAEhC;AAAA,QACE,WAAY;AACV,iCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAC1D,iBAAO,UAAU,WAAY;AAC3B,mCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,UACtE,CAAW;AAAA,QACX;AAAA,QACQ,CAAC,SAAS;AAAA;AAEZ,oBAAc,KAAK;AACnB,aAAO;AAAA,IACb;AACI,aAAS,uBAAuB,MAAM;AACpC,UAAI,oBAAoB,KAAK;AAC7B,aAAO,KAAK;AACZ,UAAI;AACF,YAAI,YAAY,kBAAiB;AACjC,eAAO,CAAC,SAAS,MAAM,SAAS;AAAA,MACxC,SAAe,OAAO;AACd,eAAO;AAAA,MACf;AAAA,IACA;AACI,aAAS,uBAAuB,WAAW,aAAa;AACtD,aAAO,YAAW;AAAA,IACxB;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,OAAO;AACpE,QAAIA,UAAQC,OACV,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,WAAWD,QAAM,UACjB,YAAYA,QAAM,WAClB,kBAAkBA,QAAM,iBACxB,gBAAgBA,QAAM,eACtB,oBAAoB,OACpB,6BAA6B,OAC7B,OACE,gBAAgB,OAAO,UACvB,gBAAgB,OAAO,OAAO,YAC9B,gBAAgB,OAAO,OAAO,SAAS,gBACnC,yBACA;AACRE,yCAAAA,UAAA,uBACE,WAAWF,QAAM,uBAAuBA,QAAM,uBAAuB;AACvE,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,78 +0,0 @@
1
- import { __exports as useSyncExternalStoreShim_development } from "../../../_virtual/use-sync-external-store-shim.development.mjs";
2
- import React__default from "react";
3
- /**
4
- * @license React
5
- * use-sync-external-store-shim.development.js
6
- *
7
- * Copyright (c) Meta Platforms, Inc. and affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var hasRequiredUseSyncExternalStoreShim_development;
13
- function requireUseSyncExternalStoreShim_development() {
14
- if (hasRequiredUseSyncExternalStoreShim_development) return useSyncExternalStoreShim_development;
15
- hasRequiredUseSyncExternalStoreShim_development = 1;
16
- "production" !== process.env.NODE_ENV && (function() {
17
- function is(x, y) {
18
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
19
- }
20
- function useSyncExternalStore$2(subscribe, getSnapshot) {
21
- didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = true, console.error(
22
- "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."
23
- ));
24
- var value = getSnapshot();
25
- if (!didWarnUncachedGetSnapshot) {
26
- var cachedValue = getSnapshot();
27
- objectIs(value, cachedValue) || (console.error(
28
- "The result of getSnapshot should be cached to avoid an infinite loop"
29
- ), didWarnUncachedGetSnapshot = true);
30
- }
31
- cachedValue = useState({
32
- inst: { value, getSnapshot }
33
- });
34
- var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
35
- useLayoutEffect(
36
- function() {
37
- inst.value = value;
38
- inst.getSnapshot = getSnapshot;
39
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
40
- },
41
- [subscribe, value, getSnapshot]
42
- );
43
- useEffect(
44
- function() {
45
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
46
- return subscribe(function() {
47
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
48
- });
49
- },
50
- [subscribe]
51
- );
52
- useDebugValue(value);
53
- return value;
54
- }
55
- function checkIfSnapshotChanged(inst) {
56
- var latestGetSnapshot = inst.getSnapshot;
57
- inst = inst.value;
58
- try {
59
- var nextValue = latestGetSnapshot();
60
- return !objectIs(inst, nextValue);
61
- } catch (error) {
62
- return true;
63
- }
64
- }
65
- function useSyncExternalStore$1(subscribe, getSnapshot) {
66
- return getSnapshot();
67
- }
68
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
69
- var React = React__default, objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
70
- useSyncExternalStoreShim_development.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
71
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
72
- })();
73
- return useSyncExternalStoreShim_development;
74
- }
75
- export {
76
- requireUseSyncExternalStoreShim_development as __require
77
- };
78
- //# sourceMappingURL=use-sync-external-store-shim.development.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.development.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"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.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;;AAWA,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,GAAG,GAAG,GAAG;AAChB,aAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,IAC5E;AACI,aAAS,uBAAuB,WAAW,aAAa;AACtD,2BACE,WAAW,MAAM,oBACf,oBAAoB,MACtB,QAAQ;AAAA,QACN;AAAA,MACV;AACM,UAAI,QAAQ,YAAW;AACvB,UAAI,CAAC,4BAA4B;AAC/B,YAAI,cAAc,YAAW;AAC7B,iBAAS,OAAO,WAAW,MACxB,QAAQ;AAAA,UACP;AAAA,WAED,6BAA6B;AAAA,MACxC;AACM,oBAAc,SAAS;AAAA,QACrB,MAAM,EAAE,OAAc,YAAwB;AAAA,MACtD,CAAO;AACD,UAAI,OAAO,YAAY,CAAC,EAAE,MACxB,cAAc,YAAY,CAAC;AAC7B;AAAA,QACE,WAAY;AACV,eAAK,QAAQ;AACb,eAAK,cAAc;AACnB,iCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,QACpE;AAAA,QACQ,CAAC,WAAW,OAAO,WAAW;AAAA;AAEhC;AAAA,QACE,WAAY;AACV,iCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAC1D,iBAAO,UAAU,WAAY;AAC3B,mCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,UACtE,CAAW;AAAA,QACX;AAAA,QACQ,CAAC,SAAS;AAAA;AAEZ,oBAAc,KAAK;AACnB,aAAO;AAAA,IACb;AACI,aAAS,uBAAuB,MAAM;AACpC,UAAI,oBAAoB,KAAK;AAC7B,aAAO,KAAK;AACZ,UAAI;AACF,YAAI,YAAY,kBAAiB;AACjC,eAAO,CAAC,SAAS,MAAM,SAAS;AAAA,MACxC,SAAe,OAAO;AACd,eAAO;AAAA,MACf;AAAA,IACA;AACI,aAAS,uBAAuB,WAAW,aAAa;AACtD,aAAO,YAAW;AAAA,IACxB;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,OAAO;AACpE,QAAI,QAAQA,gBACV,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,WAAW,MAAM,UACjB,YAAY,MAAM,WAClB,kBAAkB,MAAM,iBACxB,gBAAgB,MAAM,eACtB,oBAAoB,OACpB,6BAA6B,OAC7B,OACE,gBAAgB,OAAO,UACvB,gBAAgB,OAAO,OAAO,YAC9B,gBAAgB,OAAO,OAAO,SAAS,gBACnC,yBACA;AACR,yCAAA,uBACE,WAAW,MAAM,uBAAuB,MAAM,uBAAuB;AACvE,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;","x_google_ignoreList":[0]}
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const useSyncExternalStoreShim_production = require("../../../_virtual/use-sync-external-store-shim.production.js");
4
- const React = require("react");
5
- /**
6
- * @license React
7
- * use-sync-external-store-shim.production.js
8
- *
9
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
- var hasRequiredUseSyncExternalStoreShim_production;
15
- function requireUseSyncExternalStoreShim_production() {
16
- if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production.__exports;
17
- hasRequiredUseSyncExternalStoreShim_production = 1;
18
- var React$1 = React;
19
- function is(x, y) {
20
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
21
- }
22
- var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React$1.useState, useEffect = React$1.useEffect, useLayoutEffect = React$1.useLayoutEffect, useDebugValue = React$1.useDebugValue;
23
- function useSyncExternalStore$2(subscribe, getSnapshot) {
24
- var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
25
- useLayoutEffect(
26
- function() {
27
- inst.value = value;
28
- inst.getSnapshot = getSnapshot;
29
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
30
- },
31
- [subscribe, value, getSnapshot]
32
- );
33
- useEffect(
34
- function() {
35
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
36
- return subscribe(function() {
37
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
38
- });
39
- },
40
- [subscribe]
41
- );
42
- useDebugValue(value);
43
- return value;
44
- }
45
- function checkIfSnapshotChanged(inst) {
46
- var latestGetSnapshot = inst.getSnapshot;
47
- inst = inst.value;
48
- try {
49
- var nextValue = latestGetSnapshot();
50
- return !objectIs(inst, nextValue);
51
- } catch (error) {
52
- return true;
53
- }
54
- }
55
- function useSyncExternalStore$1(subscribe, getSnapshot) {
56
- return getSnapshot();
57
- }
58
- var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
59
- useSyncExternalStoreShim_production.__exports.useSyncExternalStore = void 0 !== React$1.useSyncExternalStore ? React$1.useSyncExternalStore : shim;
60
- return useSyncExternalStoreShim_production.__exports;
61
- }
62
- exports.__require = requireUseSyncExternalStoreShim_production;
63
- //# sourceMappingURL=use-sync-external-store-shim.production.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-sync-external-store-shim.production.js","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"names":["React","require$$0","useSyncExternalStoreShim_production"],"mappings":";;;;;;;;;;;;;;;;;AAWA,MAAIA,UAAQC;AACZ,WAAS,GAAG,GAAG,GAAG;AAChB,WAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,EACxE;AACA,MAAI,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IAC3D,WAAWD,QAAM,UACjB,YAAYA,QAAM,WAClB,kBAAkBA,QAAM,iBACxB,gBAAgBA,QAAM;AACxB,WAAS,uBAAuB,WAAW,aAAa;AACtD,QAAI,QAAQ,YAAW,GACrB,YAAY,SAAS,EAAE,MAAM,EAAE,OAAc,YAAwB,GAAI,GACzE,OAAO,UAAU,CAAC,EAAE,MACpB,cAAc,UAAU,CAAC;AAC3B;AAAA,MACE,WAAY;AACV,aAAK,QAAQ;AACb,aAAK,cAAc;AACnB,+BAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,MAChE;AAAA,MACI,CAAC,WAAW,OAAO,WAAW;AAAA;AAEhC;AAAA,MACE,WAAY;AACV,+BAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAC1D,eAAO,UAAU,WAAY;AAC3B,iCAAuB,IAAI,KAAK,YAAY,EAAE,KAAU,CAAE;AAAA,QAClE,CAAO;AAAA,MACP;AAAA,MACI,CAAC,SAAS;AAAA;AAEZ,kBAAc,KAAK;AACnB,WAAO;AAAA,EACT;AACA,WAAS,uBAAuB,MAAM;AACpC,QAAI,oBAAoB,KAAK;AAC7B,WAAO,KAAK;AACZ,QAAI;AACF,UAAI,YAAY,kBAAiB;AACjC,aAAO,CAAC,SAAS,MAAM,SAAS;AAAA,IACpC,SAAW,OAAO;AACd,aAAO;AAAA,IACX;AAAA,EACA;AACA,WAAS,uBAAuB,WAAW,aAAa;AACtD,WAAO,YAAW;AAAA,EACpB;AACA,MAAI,OACF,gBAAgB,OAAO,UACvB,gBAAgB,OAAO,OAAO,YAC9B,gBAAgB,OAAO,OAAO,SAAS,gBACnC,yBACA;AACNE,sCAAAA,UAAA,uBACE,WAAWF,QAAM,uBAAuBA,QAAM,uBAAuB;;;;","x_google_ignoreList":[0]}