@shopify/hydrogen-react 2022.7.1 → 2022.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/README.md +1 -1
  2. package/dist/dev/CartProvider.js +35 -35
  3. package/dist/dev/CartProvider.js.map +1 -1
  4. package/dist/dev/{CartProvider.cjs → CartProvider.mjs} +36 -36
  5. package/dist/dev/{CartProvider.cjs.map → CartProvider.mjs.map} +1 -1
  6. package/dist/dev/ExternalVideo.js +5 -5
  7. package/dist/dev/ExternalVideo.js.map +1 -1
  8. package/dist/dev/{ExternalVideo.cjs → ExternalVideo.mjs} +6 -6
  9. package/dist/{prod/ExternalVideo.cjs.map → dev/ExternalVideo.mjs.map} +1 -1
  10. package/dist/dev/Image.js +12 -12
  11. package/dist/dev/Image.js.map +1 -1
  12. package/dist/dev/{Image.cjs → Image.mjs} +13 -13
  13. package/dist/dev/{Image.cjs.map → Image.mjs.map} +1 -1
  14. package/dist/dev/MediaFile.js +12 -12
  15. package/dist/dev/MediaFile.js.map +1 -1
  16. package/dist/dev/{MediaFile.cjs → MediaFile.mjs} +13 -13
  17. package/dist/dev/{MediaFile.cjs.map → MediaFile.mjs.map} +1 -1
  18. package/dist/dev/Metafield.js +32 -32
  19. package/dist/dev/Metafield.js.map +1 -1
  20. package/dist/dev/{Metafield.cjs → Metafield.mjs} +33 -33
  21. package/dist/dev/Metafield.mjs.map +1 -0
  22. package/dist/dev/ModelViewer.js +11 -11
  23. package/dist/dev/ModelViewer.js.map +1 -1
  24. package/dist/dev/{ModelViewer.cjs → ModelViewer.mjs} +12 -12
  25. package/dist/dev/{ModelViewer.cjs.map → ModelViewer.mjs.map} +1 -1
  26. package/dist/dev/Money.js +8 -8
  27. package/dist/dev/Money.js.map +1 -1
  28. package/dist/{prod/Money.cjs → dev/Money.mjs} +9 -9
  29. package/dist/dev/{Money.cjs.map → Money.mjs.map} +1 -1
  30. package/dist/dev/ProductPrice.js +9 -9
  31. package/dist/dev/ProductPrice.js.map +1 -1
  32. package/dist/{prod/ProductPrice.cjs → dev/ProductPrice.mjs} +10 -10
  33. package/dist/dev/{ProductPrice.cjs.map → ProductPrice.mjs.map} +1 -1
  34. package/dist/dev/ProductProvider.js +25 -25
  35. package/dist/dev/ProductProvider.js.map +1 -1
  36. package/dist/{prod/ProductProvider.cjs → dev/ProductProvider.mjs} +26 -26
  37. package/dist/{prod/ProductProvider.cjs.map → dev/ProductProvider.mjs.map} +1 -1
  38. package/dist/dev/ShopPayButton.js +13 -13
  39. package/dist/dev/ShopPayButton.js.map +1 -1
  40. package/dist/{prod/ShopPayButton.cjs → dev/ShopPayButton.mjs} +14 -14
  41. package/dist/{prod/ShopPayButton.cjs.map → dev/ShopPayButton.mjs.map} +1 -1
  42. package/dist/dev/ShopifyProvider.js +14 -14
  43. package/dist/dev/ShopifyProvider.js.map +1 -1
  44. package/dist/dev/ShopifyProvider.mjs +46 -0
  45. package/dist/dev/{ShopifyProvider.cjs.map → ShopifyProvider.mjs.map} +1 -1
  46. package/dist/dev/Video.js +9 -9
  47. package/dist/dev/Video.js.map +1 -1
  48. package/dist/dev/{Video.cjs → Video.mjs} +10 -10
  49. package/dist/dev/{Video.cjs.map → Video.mjs.map} +1 -1
  50. package/dist/dev/_virtual/index.js +3 -3
  51. package/dist/dev/_virtual/index.js.map +1 -1
  52. package/dist/dev/_virtual/index.mjs +5 -0
  53. package/dist/dev/_virtual/index.mjs.map +1 -0
  54. package/dist/dev/_virtual/use-sync-external-store-shim.development.js +3 -3
  55. package/dist/dev/_virtual/use-sync-external-store-shim.development.js.map +1 -1
  56. package/dist/dev/_virtual/use-sync-external-store-shim.development.mjs +5 -0
  57. package/dist/dev/_virtual/use-sync-external-store-shim.development.mjs.map +1 -0
  58. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.js +3 -3
  59. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.js.map +1 -1
  60. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.mjs +5 -0
  61. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.mjs.map +1 -0
  62. package/dist/dev/_virtual/with-selector.development.js +3 -3
  63. package/dist/dev/_virtual/with-selector.development.js.map +1 -1
  64. package/dist/dev/_virtual/with-selector.development.mjs +5 -0
  65. package/dist/dev/_virtual/with-selector.development.mjs.map +1 -0
  66. package/dist/dev/_virtual/with-selector.js +3 -3
  67. package/dist/dev/_virtual/with-selector.js.map +1 -1
  68. package/dist/dev/_virtual/with-selector.mjs +5 -0
  69. package/dist/dev/_virtual/with-selector.mjs.map +1 -0
  70. package/dist/dev/_virtual/with-selector.production.min.js +3 -3
  71. package/dist/dev/_virtual/with-selector.production.min.js.map +1 -1
  72. package/dist/dev/_virtual/with-selector.production.min.mjs +5 -0
  73. package/dist/dev/_virtual/with-selector.production.min.mjs.map +1 -0
  74. package/dist/dev/cart-constants.js +9 -9
  75. package/dist/dev/cart-constants.js.map +1 -1
  76. package/dist/dev/cart-constants.mjs +17 -0
  77. package/dist/dev/{cart-constants.cjs.map → cart-constants.mjs.map} +1 -1
  78. package/dist/dev/cart-hooks.js +15 -56
  79. package/dist/dev/cart-hooks.js.map +1 -1
  80. package/dist/dev/cart-hooks.mjs +48 -0
  81. package/dist/dev/{cart-hooks.cjs.map → cart-hooks.mjs.map} +1 -1
  82. package/dist/dev/cart-queries.js +11 -113
  83. package/dist/dev/cart-queries.js.map +1 -1
  84. package/dist/{prod/cart-queries.cjs → dev/cart-queries.mjs} +12 -114
  85. package/dist/dev/{cart-queries.cjs.map → cart-queries.mjs.map} +1 -1
  86. package/dist/dev/flatten-connection.js +3 -3
  87. package/dist/dev/flatten-connection.js.map +1 -1
  88. package/dist/dev/{flatten-connection.cjs → flatten-connection.mjs} +4 -4
  89. package/dist/dev/{flatten-connection.cjs.map → flatten-connection.mjs.map} +1 -1
  90. package/dist/dev/image-size.js +6 -6
  91. package/dist/dev/image-size.js.map +1 -1
  92. package/dist/dev/{image-size.cjs → image-size.mjs} +7 -7
  93. package/dist/{prod/image-size.cjs.map → dev/image-size.mjs.map} +1 -1
  94. package/dist/dev/index.js +37 -40
  95. package/dist/dev/index.js.map +1 -1
  96. package/dist/dev/index.mjs +38 -0
  97. package/dist/dev/index.mjs.map +1 -0
  98. package/dist/dev/load-script.js +7 -7
  99. package/dist/dev/load-script.js.map +1 -1
  100. package/dist/{prod/load-script.cjs → dev/load-script.mjs} +8 -8
  101. package/dist/dev/{load-script.cjs.map → load-script.mjs.map} +1 -1
  102. package/dist/dev/node_modules/@xstate/fsm/es/index.js +34 -35
  103. package/dist/dev/node_modules/@xstate/fsm/es/index.js.map +1 -1
  104. package/dist/{prod/node_modules/@xstate/fsm/es/index.cjs → dev/node_modules/@xstate/fsm/es/index.mjs} +36 -35
  105. package/dist/dev/node_modules/@xstate/fsm/es/index.mjs.map +1 -0
  106. package/dist/dev/node_modules/@xstate/react/es/fsm.js +21 -21
  107. package/dist/dev/node_modules/@xstate/react/es/fsm.js.map +1 -1
  108. package/dist/dev/node_modules/@xstate/react/es/{fsm.cjs → fsm.mjs} +22 -22
  109. package/dist/dev/node_modules/@xstate/react/es/{fsm.cjs.map → fsm.mjs.map} +1 -1
  110. package/dist/dev/node_modules/@xstate/react/es/useConstant.js +23 -5
  111. package/dist/dev/node_modules/@xstate/react/es/useConstant.js.map +1 -1
  112. package/dist/dev/node_modules/@xstate/react/es/useConstant.mjs +12 -0
  113. package/dist/dev/node_modules/@xstate/react/es/useConstant.mjs.map +1 -0
  114. package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +4 -5
  115. package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +1 -1
  116. package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +6 -0
  117. package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/{use-isomorphic-layout-effect.browser.esm.cjs.map → use-isomorphic-layout-effect.browser.esm.mjs.map} +1 -1
  118. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +13 -11
  119. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -1
  120. package/dist/{prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs → dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs} +12 -14
  121. package/dist/{prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs.map → dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map} +1 -1
  122. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +12 -10
  123. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +1 -1
  124. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/{with-selector.production.min.cjs → with-selector.production.min.mjs} +11 -13
  125. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +1 -0
  126. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +11 -9
  127. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
  128. package/dist/{prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs → dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs} +10 -12
  129. package/dist/{prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.map → dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map} +1 -1
  130. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +11 -9
  131. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +1 -1
  132. package/dist/{prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.cjs → dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs} +10 -12
  133. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +1 -0
  134. package/dist/dev/node_modules/use-sync-external-store/shim/index.js +12 -12
  135. package/dist/dev/node_modules/use-sync-external-store/shim/index.js.map +1 -1
  136. package/dist/dev/node_modules/use-sync-external-store/shim/index.mjs +21 -0
  137. package/dist/dev/node_modules/use-sync-external-store/shim/{index.cjs.map → index.mjs.map} +1 -1
  138. package/dist/dev/node_modules/use-sync-external-store/shim/with-selector.js +7 -6
  139. package/dist/dev/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -1
  140. package/dist/dev/node_modules/use-sync-external-store/shim/with-selector.mjs +11 -0
  141. package/dist/dev/node_modules/use-sync-external-store/shim/{with-selector.cjs.map → with-selector.mjs.map} +1 -1
  142. package/dist/dev/node_modules/worktop/cookie/index.js +3 -3
  143. package/dist/dev/node_modules/worktop/cookie/index.js.map +1 -1
  144. package/dist/{prod/node_modules/worktop/cookie/index.cjs → dev/node_modules/worktop/cookie/index.mjs} +4 -4
  145. package/dist/dev/node_modules/worktop/cookie/{index.cjs.map → index.mjs.map} +1 -1
  146. package/dist/dev/storefront-api-constants.js +4 -4
  147. package/dist/dev/storefront-api-constants.js.map +1 -1
  148. package/dist/dev/storefront-api-constants.mjs +5 -0
  149. package/dist/dev/storefront-api-constants.mjs.map +1 -0
  150. package/dist/dev/storefront-client.js +6 -6
  151. package/dist/dev/storefront-client.js.map +1 -1
  152. package/dist/dev/{storefront-client.cjs → storefront-client.mjs} +7 -7
  153. package/dist/dev/storefront-client.mjs.map +1 -0
  154. package/dist/dev/useCartAPIStateMachine.js +20 -20
  155. package/dist/dev/useCartAPIStateMachine.js.map +1 -1
  156. package/dist/dev/{useCartAPIStateMachine.cjs → useCartAPIStateMachine.mjs} +21 -21
  157. package/dist/dev/{useCartAPIStateMachine.cjs.map → useCartAPIStateMachine.mjs.map} +1 -1
  158. package/dist/dev/useCartActions.js +26 -26
  159. package/dist/dev/useCartActions.js.map +1 -1
  160. package/dist/{prod/useCartActions.cjs → dev/useCartActions.mjs} +27 -27
  161. package/dist/dev/{useCartActions.cjs.map → useCartActions.mjs.map} +1 -1
  162. package/dist/dev/useMoney.js +10 -10
  163. package/dist/dev/useMoney.js.map +1 -1
  164. package/dist/{prod/useMoney.cjs → dev/useMoney.mjs} +11 -11
  165. package/dist/dev/{useMoney.cjs.map → useMoney.mjs.map} +1 -1
  166. package/dist/prod/CartProvider.js +35 -35
  167. package/dist/prod/CartProvider.js.map +1 -1
  168. package/dist/prod/{CartProvider.cjs → CartProvider.mjs} +36 -36
  169. package/dist/prod/{CartProvider.cjs.map → CartProvider.mjs.map} +1 -1
  170. package/dist/prod/ExternalVideo.js +5 -5
  171. package/dist/prod/ExternalVideo.js.map +1 -1
  172. package/dist/prod/{ExternalVideo.cjs → ExternalVideo.mjs} +6 -6
  173. package/dist/{dev/ExternalVideo.cjs.map → prod/ExternalVideo.mjs.map} +1 -1
  174. package/dist/prod/Image.js +12 -12
  175. package/dist/prod/Image.js.map +1 -1
  176. package/dist/prod/{Image.cjs → Image.mjs} +13 -13
  177. package/dist/prod/{Image.cjs.map → Image.mjs.map} +1 -1
  178. package/dist/prod/MediaFile.js +12 -12
  179. package/dist/prod/MediaFile.js.map +1 -1
  180. package/dist/prod/{MediaFile.cjs → MediaFile.mjs} +13 -13
  181. package/dist/prod/{MediaFile.cjs.map → MediaFile.mjs.map} +1 -1
  182. package/dist/prod/Metafield.js +32 -32
  183. package/dist/prod/Metafield.js.map +1 -1
  184. package/dist/prod/{Metafield.cjs → Metafield.mjs} +33 -33
  185. package/dist/prod/Metafield.mjs.map +1 -0
  186. package/dist/prod/ModelViewer.js +11 -11
  187. package/dist/prod/ModelViewer.js.map +1 -1
  188. package/dist/prod/{ModelViewer.cjs → ModelViewer.mjs} +12 -12
  189. package/dist/prod/{ModelViewer.cjs.map → ModelViewer.mjs.map} +1 -1
  190. package/dist/prod/Money.js +8 -8
  191. package/dist/prod/Money.js.map +1 -1
  192. package/dist/{dev/Money.cjs → prod/Money.mjs} +9 -9
  193. package/dist/prod/{Money.cjs.map → Money.mjs.map} +1 -1
  194. package/dist/prod/ProductPrice.js +9 -9
  195. package/dist/prod/ProductPrice.js.map +1 -1
  196. package/dist/{dev/ProductPrice.cjs → prod/ProductPrice.mjs} +10 -10
  197. package/dist/prod/{ProductPrice.cjs.map → ProductPrice.mjs.map} +1 -1
  198. package/dist/prod/ProductProvider.js +25 -25
  199. package/dist/prod/ProductProvider.js.map +1 -1
  200. package/dist/{dev/ProductProvider.cjs → prod/ProductProvider.mjs} +26 -26
  201. package/dist/{dev/ProductProvider.cjs.map → prod/ProductProvider.mjs.map} +1 -1
  202. package/dist/prod/ShopPayButton.js +13 -13
  203. package/dist/prod/ShopPayButton.js.map +1 -1
  204. package/dist/{dev/ShopPayButton.cjs → prod/ShopPayButton.mjs} +14 -14
  205. package/dist/{dev/ShopPayButton.cjs.map → prod/ShopPayButton.mjs.map} +1 -1
  206. package/dist/prod/ShopifyProvider.js +14 -14
  207. package/dist/prod/ShopifyProvider.js.map +1 -1
  208. package/dist/prod/ShopifyProvider.mjs +46 -0
  209. package/dist/prod/{ShopifyProvider.cjs.map → ShopifyProvider.mjs.map} +1 -1
  210. package/dist/prod/Video.js +9 -9
  211. package/dist/prod/Video.js.map +1 -1
  212. package/dist/prod/{Video.cjs → Video.mjs} +10 -10
  213. package/dist/prod/{Video.cjs.map → Video.mjs.map} +1 -1
  214. package/dist/prod/_virtual/index.js +3 -3
  215. package/dist/prod/_virtual/index.js.map +1 -1
  216. package/dist/prod/_virtual/index.mjs +5 -0
  217. package/dist/prod/_virtual/index.mjs.map +1 -0
  218. package/dist/prod/_virtual/use-sync-external-store-shim.development.js +3 -3
  219. package/dist/prod/_virtual/use-sync-external-store-shim.development.js.map +1 -1
  220. package/dist/prod/_virtual/use-sync-external-store-shim.development.mjs +5 -0
  221. package/dist/prod/_virtual/use-sync-external-store-shim.development.mjs.map +1 -0
  222. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.js +3 -3
  223. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.js.map +1 -1
  224. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.mjs +5 -0
  225. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.mjs.map +1 -0
  226. package/dist/prod/_virtual/with-selector.development.js +3 -3
  227. package/dist/prod/_virtual/with-selector.development.js.map +1 -1
  228. package/dist/prod/_virtual/with-selector.development.mjs +5 -0
  229. package/dist/prod/_virtual/with-selector.development.mjs.map +1 -0
  230. package/dist/prod/_virtual/with-selector.js +3 -3
  231. package/dist/prod/_virtual/with-selector.js.map +1 -1
  232. package/dist/prod/_virtual/with-selector.mjs +5 -0
  233. package/dist/prod/_virtual/with-selector.mjs.map +1 -0
  234. package/dist/prod/_virtual/with-selector.production.min.js +3 -3
  235. package/dist/prod/_virtual/with-selector.production.min.js.map +1 -1
  236. package/dist/prod/_virtual/with-selector.production.min.mjs +5 -0
  237. package/dist/prod/_virtual/with-selector.production.min.mjs.map +1 -0
  238. package/dist/prod/cart-constants.js +9 -9
  239. package/dist/prod/cart-constants.js.map +1 -1
  240. package/dist/prod/cart-constants.mjs +17 -0
  241. package/dist/prod/{cart-constants.cjs.map → cart-constants.mjs.map} +1 -1
  242. package/dist/prod/cart-hooks.js +15 -56
  243. package/dist/prod/cart-hooks.js.map +1 -1
  244. package/dist/prod/cart-hooks.mjs +48 -0
  245. package/dist/prod/{cart-hooks.cjs.map → cart-hooks.mjs.map} +1 -1
  246. package/dist/prod/cart-queries.js +11 -113
  247. package/dist/prod/cart-queries.js.map +1 -1
  248. package/dist/{dev/cart-queries.cjs → prod/cart-queries.mjs} +12 -114
  249. package/dist/prod/{cart-queries.cjs.map → cart-queries.mjs.map} +1 -1
  250. package/dist/prod/flatten-connection.js +3 -3
  251. package/dist/prod/flatten-connection.js.map +1 -1
  252. package/dist/prod/{flatten-connection.cjs → flatten-connection.mjs} +4 -4
  253. package/dist/prod/{flatten-connection.cjs.map → flatten-connection.mjs.map} +1 -1
  254. package/dist/prod/image-size.js +6 -6
  255. package/dist/prod/image-size.js.map +1 -1
  256. package/dist/prod/{image-size.cjs → image-size.mjs} +7 -7
  257. package/dist/{dev/image-size.cjs.map → prod/image-size.mjs.map} +1 -1
  258. package/dist/prod/index.js +37 -40
  259. package/dist/prod/index.js.map +1 -1
  260. package/dist/prod/index.mjs +38 -0
  261. package/dist/prod/index.mjs.map +1 -0
  262. package/dist/prod/load-script.js +7 -7
  263. package/dist/prod/load-script.js.map +1 -1
  264. package/dist/{dev/load-script.cjs → prod/load-script.mjs} +8 -8
  265. package/dist/prod/{load-script.cjs.map → load-script.mjs.map} +1 -1
  266. package/dist/prod/node_modules/@xstate/fsm/es/index.js +34 -35
  267. package/dist/prod/node_modules/@xstate/fsm/es/index.js.map +1 -1
  268. package/dist/{dev/node_modules/@xstate/fsm/es/index.cjs → prod/node_modules/@xstate/fsm/es/index.mjs} +36 -35
  269. package/dist/prod/node_modules/@xstate/fsm/es/index.mjs.map +1 -0
  270. package/dist/prod/node_modules/@xstate/react/es/fsm.js +21 -21
  271. package/dist/prod/node_modules/@xstate/react/es/fsm.js.map +1 -1
  272. package/dist/prod/node_modules/@xstate/react/es/{fsm.cjs → fsm.mjs} +22 -22
  273. package/dist/prod/node_modules/@xstate/react/es/{fsm.cjs.map → fsm.mjs.map} +1 -1
  274. package/dist/prod/node_modules/@xstate/react/es/useConstant.js +23 -5
  275. package/dist/prod/node_modules/@xstate/react/es/useConstant.js.map +1 -1
  276. package/dist/prod/node_modules/@xstate/react/es/useConstant.mjs +12 -0
  277. package/dist/prod/node_modules/@xstate/react/es/useConstant.mjs.map +1 -0
  278. package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +4 -5
  279. package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +1 -1
  280. package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.mjs +6 -0
  281. package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/{use-isomorphic-layout-effect.browser.esm.cjs.map → use-isomorphic-layout-effect.browser.esm.mjs.map} +1 -1
  282. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +13 -11
  283. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -1
  284. package/dist/{dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs → prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs} +12 -14
  285. package/dist/{dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.cjs.map → prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map} +1 -1
  286. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +12 -10
  287. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +1 -1
  288. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/{with-selector.production.min.cjs → with-selector.production.min.mjs} +11 -13
  289. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +1 -0
  290. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +11 -9
  291. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
  292. package/dist/{dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs → prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs} +10 -12
  293. package/dist/{dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.map → prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map} +1 -1
  294. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +11 -9
  295. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +1 -1
  296. package/dist/{dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.cjs → prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs} +10 -12
  297. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +1 -0
  298. package/dist/prod/node_modules/use-sync-external-store/shim/index.js +12 -12
  299. package/dist/prod/node_modules/use-sync-external-store/shim/index.js.map +1 -1
  300. package/dist/prod/node_modules/use-sync-external-store/shim/index.mjs +21 -0
  301. package/dist/prod/node_modules/use-sync-external-store/shim/{index.cjs.map → index.mjs.map} +1 -1
  302. package/dist/prod/node_modules/use-sync-external-store/shim/with-selector.js +7 -6
  303. package/dist/prod/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -1
  304. package/dist/prod/node_modules/use-sync-external-store/shim/with-selector.mjs +11 -0
  305. package/dist/prod/node_modules/use-sync-external-store/shim/{with-selector.cjs.map → with-selector.mjs.map} +1 -1
  306. package/dist/prod/node_modules/worktop/cookie/index.js +3 -3
  307. package/dist/prod/node_modules/worktop/cookie/index.js.map +1 -1
  308. package/dist/{dev/node_modules/worktop/cookie/index.cjs → prod/node_modules/worktop/cookie/index.mjs} +4 -4
  309. package/dist/prod/node_modules/worktop/cookie/{index.cjs.map → index.mjs.map} +1 -1
  310. package/dist/prod/storefront-api-constants.js +4 -4
  311. package/dist/prod/storefront-api-constants.js.map +1 -1
  312. package/dist/prod/storefront-api-constants.mjs +5 -0
  313. package/dist/prod/storefront-api-constants.mjs.map +1 -0
  314. package/dist/prod/storefront-client.js +6 -6
  315. package/dist/prod/storefront-client.js.map +1 -1
  316. package/dist/prod/{storefront-client.cjs → storefront-client.mjs} +7 -7
  317. package/dist/prod/storefront-client.mjs.map +1 -0
  318. package/dist/prod/useCartAPIStateMachine.js +20 -20
  319. package/dist/prod/useCartAPIStateMachine.js.map +1 -1
  320. package/dist/prod/{useCartAPIStateMachine.cjs → useCartAPIStateMachine.mjs} +21 -21
  321. package/dist/prod/{useCartAPIStateMachine.cjs.map → useCartAPIStateMachine.mjs.map} +1 -1
  322. package/dist/prod/useCartActions.js +26 -26
  323. package/dist/prod/useCartActions.js.map +1 -1
  324. package/dist/{dev/useCartActions.cjs → prod/useCartActions.mjs} +27 -27
  325. package/dist/prod/{useCartActions.cjs.map → useCartActions.mjs.map} +1 -1
  326. package/dist/prod/useMoney.js +10 -10
  327. package/dist/prod/useMoney.js.map +1 -1
  328. package/dist/{dev/useMoney.cjs → prod/useMoney.mjs} +11 -11
  329. package/dist/prod/{useMoney.cjs.map → useMoney.mjs.map} +1 -1
  330. package/dist/types/index.d.cts +0 -1
  331. package/dist/types/index.d.ts +0 -1
  332. package/dist/types/storefront-api-constants.d.ts +1 -1
  333. package/dist/types/storefront-api-types.d.ts +278 -73
  334. package/dist/types/useCartActions.d.ts +1 -1
  335. package/dist/umd/hydrogen-react.dev.js +253 -394
  336. package/dist/umd/hydrogen-react.dev.js.map +1 -1
  337. package/dist/umd/hydrogen-react.prod.js +57 -157
  338. package/dist/umd/hydrogen-react.prod.js.map +1 -1
  339. package/package.json +15 -14
  340. package/storefront.schema.json +1 -1
  341. package/dist/dev/Metafield.cjs.map +0 -1
  342. package/dist/dev/ShopifyProvider.cjs +0 -46
  343. package/dist/dev/_virtual/index.cjs +0 -5
  344. package/dist/dev/_virtual/index.cjs.map +0 -1
  345. package/dist/dev/_virtual/use-sync-external-store-shim.development.cjs +0 -5
  346. package/dist/dev/_virtual/use-sync-external-store-shim.development.cjs.map +0 -1
  347. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.cjs +0 -5
  348. package/dist/dev/_virtual/use-sync-external-store-shim.production.min.cjs.map +0 -1
  349. package/dist/dev/_virtual/with-selector.cjs +0 -5
  350. package/dist/dev/_virtual/with-selector.cjs.map +0 -1
  351. package/dist/dev/_virtual/with-selector.development.cjs +0 -5
  352. package/dist/dev/_virtual/with-selector.development.cjs.map +0 -1
  353. package/dist/dev/_virtual/with-selector.production.min.cjs +0 -5
  354. package/dist/dev/_virtual/with-selector.production.min.cjs.map +0 -1
  355. package/dist/dev/cart-constants.cjs +0 -17
  356. package/dist/dev/cart-hooks.cjs +0 -89
  357. package/dist/dev/index.cjs +0 -41
  358. package/dist/dev/index.cjs.map +0 -1
  359. package/dist/dev/node_modules/@xstate/fsm/es/index.cjs.map +0 -1
  360. package/dist/dev/node_modules/@xstate/react/es/useConstant.cjs +0 -30
  361. package/dist/dev/node_modules/@xstate/react/es/useConstant.cjs.map +0 -1
  362. package/dist/dev/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.cjs +0 -5
  363. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.cjs.map +0 -1
  364. package/dist/dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.cjs.map +0 -1
  365. package/dist/dev/node_modules/use-sync-external-store/shim/index.cjs +0 -21
  366. package/dist/dev/node_modules/use-sync-external-store/shim/with-selector.cjs +0 -12
  367. package/dist/dev/storefront-api-constants.cjs +0 -5
  368. package/dist/dev/storefront-api-constants.cjs.map +0 -1
  369. package/dist/dev/storefront-client.cjs.map +0 -1
  370. package/dist/prod/Metafield.cjs.map +0 -1
  371. package/dist/prod/ShopifyProvider.cjs +0 -46
  372. package/dist/prod/_virtual/index.cjs +0 -5
  373. package/dist/prod/_virtual/index.cjs.map +0 -1
  374. package/dist/prod/_virtual/use-sync-external-store-shim.development.cjs +0 -5
  375. package/dist/prod/_virtual/use-sync-external-store-shim.development.cjs.map +0 -1
  376. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.cjs +0 -5
  377. package/dist/prod/_virtual/use-sync-external-store-shim.production.min.cjs.map +0 -1
  378. package/dist/prod/_virtual/with-selector.cjs +0 -5
  379. package/dist/prod/_virtual/with-selector.cjs.map +0 -1
  380. package/dist/prod/_virtual/with-selector.development.cjs +0 -5
  381. package/dist/prod/_virtual/with-selector.development.cjs.map +0 -1
  382. package/dist/prod/_virtual/with-selector.production.min.cjs +0 -5
  383. package/dist/prod/_virtual/with-selector.production.min.cjs.map +0 -1
  384. package/dist/prod/cart-constants.cjs +0 -17
  385. package/dist/prod/cart-hooks.cjs +0 -89
  386. package/dist/prod/index.cjs +0 -41
  387. package/dist/prod/index.cjs.map +0 -1
  388. package/dist/prod/node_modules/@xstate/fsm/es/index.cjs.map +0 -1
  389. package/dist/prod/node_modules/@xstate/react/es/useConstant.cjs +0 -30
  390. package/dist/prod/node_modules/@xstate/react/es/useConstant.cjs.map +0 -1
  391. package/dist/prod/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.cjs +0 -5
  392. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.cjs.map +0 -1
  393. package/dist/prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.cjs.map +0 -1
  394. package/dist/prod/node_modules/use-sync-external-store/shim/index.cjs +0 -21
  395. package/dist/prod/node_modules/use-sync-external-store/shim/with-selector.cjs +0 -12
  396. package/dist/prod/storefront-api-constants.cjs +0 -5
  397. package/dist/prod/storefront-api-constants.cjs.map +0 -1
  398. package/dist/prod/storefront-client.cjs.map +0 -1
@@ -1,10 +1,6 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const withSelector_production_min = require("../../../../_virtual/with-selector.production.min.cjs");
4
- const require$$0 = require("react");
5
- const index = require("../../shim/index.cjs");
6
- const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
7
- const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
1
+ import { __exports as withSelector_production_min } from "../../../../_virtual/with-selector.production.min.mjs";
2
+ import require$$0__default from "react";
3
+ import { __require as requireShim } from "../../shim/index.mjs";
8
4
  /**
9
5
  * @license React
10
6
  * use-sync-external-store-shim/with-selector.production.min.js
@@ -17,14 +13,14 @@ const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
17
13
  var hasRequiredWithSelector_production_min;
18
14
  function requireWithSelector_production_min() {
19
15
  if (hasRequiredWithSelector_production_min)
20
- return withSelector_production_min.__exports;
16
+ return withSelector_production_min;
21
17
  hasRequiredWithSelector_production_min = 1;
22
- var h = require$$0__default.default, n = index.__require();
18
+ var h = require$$0__default, n = requireShim();
23
19
  function p(a, b) {
24
20
  return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
25
21
  }
26
22
  var q = "function" === typeof Object.is ? Object.is : p, r = n.useSyncExternalStore, t = h.useRef, u = h.useEffect, v = h.useMemo, w = h.useDebugValue;
27
- withSelector_production_min.__exports.useSyncExternalStoreWithSelector = function(a, b, e, l, g) {
23
+ withSelector_production_min.useSyncExternalStoreWithSelector = function(a, b, e, l, g) {
28
24
  var c = t(null);
29
25
  if (null === c.current) {
30
26
  var f = { hasValue: false, value: null };
@@ -68,7 +64,9 @@ function requireWithSelector_production_min() {
68
64
  w(d);
69
65
  return d;
70
66
  };
71
- return withSelector_production_min.__exports;
67
+ return withSelector_production_min;
72
68
  }
73
- exports.__require = requireWithSelector_production_min;
74
- //# sourceMappingURL=with-selector.production.min.cjs.map
69
+ export {
70
+ requireWithSelector_production_min as __require
71
+ };
72
+ //# sourceMappingURL=with-selector.production.min.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-selector.production.min.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its 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'use strict';var h=require(\"react\"),n=require(\"use-sync-external-store/shim\");function p(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var q=\"function\"===typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue;\nexports.useSyncExternalStoreWithSelector=function(a,b,e,l,g){var c=t(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;c=v(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==g&&f.hasValue){var b=f.value;if(g(b,a))return k=b}return k=a}b=k;if(q(d,a))return b;var e=l(a);if(void 0!==g&&g(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return[function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,g]);var d=r(a,c[0],c[1]);\nu(function(){f.hasValue=!0;f.value=d},[d]);w(d);return d};\n"],"names":["require$$0","require$$1","a","c","d","b","e"],"mappings":";;;;;;;;;;;;;;;;;AASa,MAAI,IAAEA,qBAAiB,IAAEC,YAAuC;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,MAAI,MAAI,MAAI,KAAG,IAAE,MAAI,IAAE,MAAI,MAAI,KAAG,MAAI;AAAA,EAAC;AAAC,MAAI,IAAE,eAAa,OAAO,OAAO,KAAG,OAAO,KAAG,GAAE,IAAE,EAAE,sBAAqB,IAAE,EAAE,QAAO,IAAE,EAAE,WAAU,IAAE,EAAE,SAAQ,IAAE,EAAE;AAC/P,8BAAA,mCAAyC,SAAS,GAAE,GAAE,GAAE,GAAE,GAAE;AAAC,QAAI,IAAE,EAAE,IAAI;AAAE,QAAG,SAAO,EAAE,SAAQ;AAAC,UAAI,IAAE,EAAC,UAAS,OAAG,OAAM,KAAI;AAAE,QAAE,UAAQ;AAAA,IAAC;AAAM,UAAE,EAAE;AAAQ,QAAE,EAAE,WAAU;AAAC,eAASC,GAAEA,IAAE;AAAC,YAAG,CAACC,IAAE;AAAC,UAAAA,KAAE;AAAG,UAAAC,KAAEF;AAAE,UAAAA,KAAE,EAAEA,EAAC;AAAE,cAAG,WAAS,KAAG,EAAE,UAAS;AAAC,gBAAIG,KAAE,EAAE;AAAM,gBAAG,EAAEA,IAAEH,EAAC;AAAE,qBAAO,IAAEG;AAAA,UAAC;AAAC,iBAAO,IAAEH;AAAA,QAAC;AAAC,QAAAG,KAAE;AAAE,YAAG,EAAED,IAAEF,EAAC;AAAE,iBAAOG;AAAE,YAAIC,KAAE,EAAEJ,EAAC;AAAE,YAAG,WAAS,KAAG,EAAEG,IAAEC,EAAC;AAAE,iBAAOD;AAAE,QAAAD,KAAEF;AAAE,eAAO,IAAEI;AAAA,MAAC;AAAC,UAAIH,KAAE,OAAGC,IAAE,GAAE,IAAE,WAAS,IAAE,OAAK;AAAE,aAAM,CAAC,WAAU;AAAC,eAAOF,GAAE,EAAG,CAAA;AAAA,MAAC,GAAE,SAAO,IAAE,SAAO,WAAU;AAAC,eAAOA,GAAE,EAAC,CAAE;AAAA,MAAC,CAAC;AAAA,IAAC,GAAE,CAAC,GAAE,GAAE,GAAE,CAAC,CAAC;AAAE,QAAI,IAAE,EAAE,GAAE,EAAE,IAAG,EAAE,EAAE;AACrf,MAAE,WAAU;AAAC,QAAE,WAAS;AAAG,QAAE,QAAM;AAAA,IAAC,GAAE,CAAC,CAAC,CAAC;AAAE,MAAE,CAAC;AAAE,WAAO;AAAA,EAAC;;;"}
@@ -1,5 +1,9 @@
1
- import { __exports as useSyncExternalStoreShim_development } from "../../../_virtual/use-sync-external-store-shim.development.js";
2
- import require$$0__default from "react";
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const useSyncExternalStoreShim_development = require("../../../_virtual/use-sync-external-store-shim.development.js");
4
+ const require$$0 = require("react");
5
+ const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
6
+ const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
3
7
  /**
4
8
  * @license React
5
9
  * use-sync-external-store-shim.development.js
@@ -12,14 +16,14 @@ import require$$0__default from "react";
12
16
  var hasRequiredUseSyncExternalStoreShim_development;
13
17
  function requireUseSyncExternalStoreShim_development() {
14
18
  if (hasRequiredUseSyncExternalStoreShim_development)
15
- return useSyncExternalStoreShim_development;
19
+ return useSyncExternalStoreShim_development.__exports;
16
20
  hasRequiredUseSyncExternalStoreShim_development = 1;
17
21
  if (process.env.NODE_ENV !== "production") {
18
22
  (function() {
19
23
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
20
24
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
21
25
  }
22
- var React = require$$0__default;
26
+ var React = require$$0__default.default;
23
27
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
24
28
  function error(format) {
25
29
  {
@@ -122,15 +126,13 @@ function requireUseSyncExternalStoreShim_development() {
122
126
  var isServerEnvironment = !canUseDOM;
123
127
  var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
124
128
  var useSyncExternalStore$2 = React.useSyncExternalStore !== void 0 ? React.useSyncExternalStore : shim;
125
- useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
129
+ useSyncExternalStoreShim_development.__exports.useSyncExternalStore = useSyncExternalStore$2;
126
130
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
127
131
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
128
132
  }
129
133
  })();
130
134
  }
131
- return useSyncExternalStoreShim_development;
135
+ return useSyncExternalStoreShim_development.__exports;
132
136
  }
133
- export {
134
- requireUseSyncExternalStoreShim_development as __require
135
- };
137
+ exports.__require = requireUseSyncExternalStoreShim_development;
136
138
  //# sourceMappingURL=use-sync-external-store-shim.development.js.map
@@ -1 +1 @@
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) Facebook, Inc. and its 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\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\n// dispatch for CommonJS interop named imports.\n\nvar useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nvar didWarnOld18Alpha = false;\nvar didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n {\n if (!didWarnOld18Alpha) {\n if (React.startTransition !== undefined) {\n didWarnOld18Alpha = true;\n\n 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.');\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n var value = getSnapshot();\n\n {\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n\n if (!objectIs(value, cachedValue)) {\n error('The result of getSnapshot should be cached to avoid an infinite loop');\n\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n var _useState = useState({\n inst: {\n value: value,\n getSnapshot: getSnapshot\n }\n }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n\n useLayoutEffect(function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }, [subscribe, value, getSnapshot]);\n useEffect(function () {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n\n var handleStoreChange = function () {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange);\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n var prevValue = inst.value;\n\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\n\nvar isServerEnvironment = !canUseDOM;\n\nvar shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\nvar useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;\n\nexports.useSyncExternalStore = useSyncExternalStore$2;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","error"],"mappings":";;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA;AAEtB,UAAI,uBAAuB,MAAM;AAEjC,eAAS,MAAM,QAAQ;AACrB;AACE;AACE,qBAAS,QAAQ,UAAU,QAAQ,OAAO,IAAI,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,GAAG,QAAQ,GAAG,QAAQ,OAAO,SAAS;AACjH,mBAAK,QAAQ,KAAK,UAAU;AAAA,YAC7B;AAED,yBAAa,SAAS,QAAQ,IAAI;AAAA,UACnC;AAAA,QACF;AAAA,MACF;AAED,eAAS,aAAa,OAAO,QA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AAKnB,cAAI,uBAAuB,IAAI,GAAG;AAEhC,wBAAY;AAAA,cACV;AAAA,YACR,CAAO;AAAA,UACF;AAAA,QACF,GAAE,CAAC,WAAW,OAAO,WAAW,CAAC;AAClC,kBAAU,WAAY;AAGpB,cAAI,uBAAuB,IAAI,GAAG;AAEhC,wBAAY;AAAA,cACV;AAAA,YACR,CAAO;AAAA,UACF;AAED,cAAI,oBAAoB,WAAY;AAOlC,gBAAI,uBAAuB,IAAI,GAAG;AAEhC,0BAAY;AAAA,gBACV;AAAA,cACV,CAAS;AAAA,YACF;AAAA,UACP;AAGI,iBAAO,UAAU,iBAAiB;AAAA,QACtC,GAAK,CAAC,SAAS,CAAC;AACd,sBAAc,KAAK;AACnB,eAAO;AAAA,MACR;AAED,eAAS,uBAAuB,MAAM;AACpC,YAAI,oBAAoB,KAAK;AAC7B,YAAI,YAAY,KAAK;AAErB,YAAI;AACF,cAAI,YAAY;AAChB,iBAAO,CAAC,SAAS,WAAW,SAAS;AAAA,QACtC,SAAQC,QAAP;AACA,iBAAO;AAAA,QACR;AAAA,MACF;AAED,eAAS,uBAAuB,WAAW,aAAa,mBAAmB;AAKzE,eAAO,YAAW;AAAA,MACnB;AAED,UAAI,YAAY,CAAC,EAAE,OAAO,WAAW,eAAe,OAAO,OAAO,aAAa,eAAe,OAAO,OAAO,SAAS,kBAAkB;AAEvI,UAAI,sBAAsB,CAAC;AAE3B,UAAI,OAAO,sBAAsB,yBAAyB;AAC1D,UAAI,yBAAyB,MAAM,yBAAyB,SAAY,MAAM,uBAAuB;AAEzE,2CAAA,uBAAG;AAE/B,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,MAAK,CAAE;AAAA,MACtE;AAAA,IAED;EACA;;;"}
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) Facebook, Inc. and its 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\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\n// dispatch for CommonJS interop named imports.\n\nvar useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nvar didWarnOld18Alpha = false;\nvar didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n {\n if (!didWarnOld18Alpha) {\n if (React.startTransition !== undefined) {\n didWarnOld18Alpha = true;\n\n 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.');\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n var value = getSnapshot();\n\n {\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n\n if (!objectIs(value, cachedValue)) {\n error('The result of getSnapshot should be cached to avoid an infinite loop');\n\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n var _useState = useState({\n inst: {\n value: value,\n getSnapshot: getSnapshot\n }\n }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n\n useLayoutEffect(function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }, [subscribe, value, getSnapshot]);\n useEffect(function () {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n\n var handleStoreChange = function () {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange);\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n var prevValue = inst.value;\n\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\n\nvar isServerEnvironment = !canUseDOM;\n\nvar shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\nvar useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;\n\nexports.useSyncExternalStore = useSyncExternalStore$2;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","error","useSyncExternalStoreShim_development"],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA,oBAAAA;AAEtB,UAAI,uBAAuB,MAAM;AAEjC,eAAS,MAAM,QAAQ;AACrB;AACE;AACE,qBAAS,QAAQ,UAAU,QAAQ,OAAO,IAAI,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,GAAG,QAAQ,GAAG,QAAQ,OAAO,SAAS;AACjH,mBAAK,QAAQ,KAAK,UAAU;AAAA,YAC7B;AAED,yBAAa,SAAS,QAAQ,IAAI;AAAA,UACnC;AAAA,QACF;AAAA,MACF;AAED,eAAS,aAAa,OAAO,QAAQ,MAAM;AAGzC;AACE,cAAI,yBAAyB,qBAAqB;AAClD,cAAI,QAAQ,uBAAuB;AAEnC,cAAI,UAAU,IAAI;AAChB,sBAAU;AACV,mBAAO,KAAK,OAAO,CAAC,KAAK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WAAY;AAGpB,cAAI,uBAAuB,IAAI,GAAG;AAEhC,wBAAY;AAAA,cACV;AAAA,YACR,CAAO;AAAA,UACF;AAED,cAAI,oBAAoB,WAAY;AAOlC,gBAAI,uBAAuB,IAAI,GAAG;AAEhC,0BAAY;AAAA,gBACV;AAAA,cACV,CAAS;AAAA,YACF;AAAA,UACP;AAGI,iBAAO,UAAU,iBAAiB;AAAA,QACtC,GAAK,CAAC,SAAS,CAAC;AACd,sBAAc,KAAK;AACnB,eAAO;AAAA,MACR;AAED,eAAS,uBAAuB,MAAM;AACpC,YAAI,oBAAoB,KAAK;AAC7B,YAAI,YAAY,KAAK;AAErB,YAAI;AACF,cAAI,YAAY;AAChB,iBAAO,CAAC,SAAS,WAAW,SAAS;AAAA,QACtC,SAAQC,QAAP;AACA,iBAAO;AAAA,QACR;AAAA,MACF;AAED,eAAS,uBAAuB,WAAW,aAAa,mBAAmB;AAKzE,eAAO,YAAW;AAAA,MACnB;AAED,UAAI,YAAY,CAAC,EAAE,OAAO,WAAW,eAAe,OAAO,OAAO,aAAa,eAAe,OAAO,OAAO,SAAS,kBAAkB;AAEvI,UAAI,sBAAsB,CAAC;AAE3B,UAAI,OAAO,sBAAsB,yBAAyB;AAC1D,UAAI,yBAAyB,MAAM,yBAAyB,SAAY,MAAM,uBAAuB;AAEzEC,2CAAA,UAAA,uBAAG;AAE/B,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,MAAK,CAAE;AAAA,MACtE;AAAA,IAED;EACA;;;;"}
@@ -1,9 +1,5 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const useSyncExternalStoreShim_development = require("../../../_virtual/use-sync-external-store-shim.development.cjs");
4
- const require$$0 = require("react");
5
- const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
6
- const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
1
+ import { __exports as useSyncExternalStoreShim_development } from "../../../_virtual/use-sync-external-store-shim.development.mjs";
2
+ import require$$0__default from "react";
7
3
  /**
8
4
  * @license React
9
5
  * use-sync-external-store-shim.development.js
@@ -16,14 +12,14 @@ const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
16
12
  var hasRequiredUseSyncExternalStoreShim_development;
17
13
  function requireUseSyncExternalStoreShim_development() {
18
14
  if (hasRequiredUseSyncExternalStoreShim_development)
19
- return useSyncExternalStoreShim_development.__exports;
15
+ return useSyncExternalStoreShim_development;
20
16
  hasRequiredUseSyncExternalStoreShim_development = 1;
21
17
  if (process.env.NODE_ENV !== "production") {
22
18
  (function() {
23
19
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
24
20
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
25
21
  }
26
- var React = require$$0__default.default;
22
+ var React = require$$0__default;
27
23
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
28
24
  function error(format) {
29
25
  {
@@ -126,13 +122,15 @@ function requireUseSyncExternalStoreShim_development() {
126
122
  var isServerEnvironment = !canUseDOM;
127
123
  var shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
128
124
  var useSyncExternalStore$2 = React.useSyncExternalStore !== void 0 ? React.useSyncExternalStore : shim;
129
- useSyncExternalStoreShim_development.__exports.useSyncExternalStore = useSyncExternalStore$2;
125
+ useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
130
126
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
131
127
  __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
132
128
  }
133
129
  })();
134
130
  }
135
- return useSyncExternalStoreShim_development.__exports;
131
+ return useSyncExternalStoreShim_development;
136
132
  }
137
- exports.__require = requireUseSyncExternalStoreShim_development;
138
- //# sourceMappingURL=use-sync-external-store-shim.development.cjs.map
133
+ export {
134
+ requireUseSyncExternalStoreShim_development as __require
135
+ };
136
+ //# sourceMappingURL=use-sync-external-store-shim.development.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-sync-external-store-shim.development.cjs","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) Facebook, Inc. and its 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\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\n// dispatch for CommonJS interop named imports.\n\nvar useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nvar didWarnOld18Alpha = false;\nvar didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n {\n if (!didWarnOld18Alpha) {\n if (React.startTransition !== undefined) {\n didWarnOld18Alpha = true;\n\n 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.');\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n var value = getSnapshot();\n\n {\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n\n if (!objectIs(value, cachedValue)) {\n error('The result of getSnapshot should be cached to avoid an infinite loop');\n\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n var _useState = useState({\n inst: {\n value: value,\n getSnapshot: getSnapshot\n }\n }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n\n useLayoutEffect(function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }, [subscribe, value, getSnapshot]);\n useEffect(function () {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n\n var handleStoreChange = function () {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange);\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n var prevValue = inst.value;\n\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\n\nvar isServerEnvironment = !canUseDOM;\n\nvar shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\nvar useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;\n\nexports.useSyncExternalStore = useSyncExternalStore$2;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","error","useSyncExternalStoreShim_development"],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA,oBAAAA;AAEtB,UAAI,uBAAuB,MAAM;AAEjC,eAAS,MAAM,QAAQ;AACrB;AACE;AACE,qBAAS,QAAQ,UAAU,QAAQ,OA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AAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,MAAK,CAAE;AAAA,MACtE;AAAA,IAED;EACA;;;;"}
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) Facebook, Inc. and its 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\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\n// dispatch for CommonJS interop named imports.\n\nvar useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nvar didWarnOld18Alpha = false;\nvar didWarnUncachedGetSnapshot = false; // Disclaimer: This shim breaks many of the rules of React, and only works\n// because of a very particular set of implementation details and assumptions\n// -- change any one of them and it will break. The most important assumption\n// is that updates are always synchronous, because concurrent rendering is\n// only available in versions of React that also have a built-in\n// useSyncExternalStore API. And we only use this shim when the built-in API\n// does not exist.\n//\n// Do not assume that the clever hacks used by this hook also work in general.\n// The point of this shim is to replace the need for hacks by other libraries.\n\nfunction useSyncExternalStore(subscribe, getSnapshot, // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n// React do not expose a way to check if we're hydrating. So users of the shim\n// will need to track that themselves and return the correct value\n// from `getSnapshot`.\ngetServerSnapshot) {\n {\n if (!didWarnOld18Alpha) {\n if (React.startTransition !== undefined) {\n didWarnOld18Alpha = true;\n\n 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.');\n }\n }\n } // Read the current snapshot from the store on every render. Again, this\n // breaks the rules of React, and only works here because of specific\n // implementation details, most importantly that updates are\n // always synchronous.\n\n\n var value = getSnapshot();\n\n {\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n\n if (!objectIs(value, cachedValue)) {\n error('The result of getSnapshot should be cached to avoid an infinite loop');\n\n didWarnUncachedGetSnapshot = true;\n }\n }\n } // Because updates are synchronous, we don't queue them. Instead we force a\n // re-render whenever the subscribed state changes by updating an some\n // arbitrary useState hook. Then, during render, we call getSnapshot to read\n // the current value.\n //\n // Because we don't actually use the state returned by the useState hook, we\n // can save a bit of memory by storing other stuff in that slot.\n //\n // To implement the early bailout, we need to track some things on a mutable\n // object. Usually, we would put that in a useRef hook, but we can stash it in\n // our useState hook instead.\n //\n // To force a re-render, we call forceUpdate({inst}). That works because the\n // new object always fails an equality check.\n\n\n var _useState = useState({\n inst: {\n value: value,\n getSnapshot: getSnapshot\n }\n }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1]; // Track the latest getSnapshot function with a ref. This needs to be updated\n // in the layout phase so we can access it during the tearing check that\n // happens on subscribe.\n\n\n useLayoutEffect(function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot; // Whenever getSnapshot or subscribe changes, we need to check in the\n // commit phase if there was an interleaved mutation. In concurrent mode\n // this can happen all the time, but even in synchronous mode, an earlier\n // effect may have mutated the store.\n\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }, [subscribe, value, getSnapshot]);\n useEffect(function () {\n // Check for changes right before subscribing. Subsequent changes will be\n // detected in the subscription handler.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n\n var handleStoreChange = function () {\n // TODO: Because there is no cross-renderer API for batching updates, it's\n // up to the consumer of this library to wrap their subscription event\n // with unstable_batchedUpdates. Should we try to detect when this isn't\n // the case and print a warning in development?\n // The store changed. Check if the snapshot changed since the last time we\n // read from the store.\n if (checkIfSnapshotChanged(inst)) {\n // Force a re-render.\n forceUpdate({\n inst: inst\n });\n }\n }; // Subscribe to the store and return a clean-up function.\n\n\n return subscribe(handleStoreChange);\n }, [subscribe]);\n useDebugValue(value);\n return value;\n}\n\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n var prevValue = inst.value;\n\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(prevValue, nextValue);\n } catch (error) {\n return true;\n }\n}\n\nfunction useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {\n // Note: The shim does not use getServerSnapshot, because pre-18 versions of\n // React do not expose a way to check if we're hydrating. So users of the shim\n // will need to track that themselves and return the correct value\n // from `getSnapshot`.\n return getSnapshot();\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');\n\nvar isServerEnvironment = !canUseDOM;\n\nvar shim = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;\nvar useSyncExternalStore$2 = React.useSyncExternalStore !== undefined ? React.useSyncExternalStore : shim;\n\nexports.useSyncExternalStore = useSyncExternalStore$2;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","error"],"mappings":";;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,MAAK,CAAE;AAAA,MACvE;AACS,UAAI,QAAQA;AAEtB,UAAI,uBAAuB,MAAM;AAEjC,eAAS,MAAM,QAAQ;AACrB;AACE;AACE,qBAAS,QAAQ,UAAU,QAAQ,OAAO,IAAI,MAAM,QAAQ,IAAI,QAAQ,IAAI,CAAC,GAAG,QAAQ,GAAG,QAAQ,OAAO,SAAS;AACjH,mBAAK,QAAQ,KAAK,UAAU;AAAA,YAC7B;AAED,yBAAa,SAAS,QAAQ,IAAI;AAA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/use-sync-external-store-shim.production.min.js";
2
- import require$$0__default from "react";
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const useSyncExternalStoreShim_production_min = require("../../../_virtual/use-sync-external-store-shim.production.min.js");
4
+ const require$$0 = require("react");
5
+ const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
6
+ const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
3
7
  /**
4
8
  * @license React
5
9
  * use-sync-external-store-shim.production.min.js
@@ -12,9 +16,9 @@ import require$$0__default from "react";
12
16
  var hasRequiredUseSyncExternalStoreShim_production_min;
13
17
  function requireUseSyncExternalStoreShim_production_min() {
14
18
  if (hasRequiredUseSyncExternalStoreShim_production_min)
15
- return useSyncExternalStoreShim_production_min;
19
+ return useSyncExternalStoreShim_production_min.__exports;
16
20
  hasRequiredUseSyncExternalStoreShim_production_min = 1;
17
- var e = require$$0__default;
21
+ var e = require$$0__default.default;
18
22
  function h(a, b) {
19
23
  return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
20
24
  }
@@ -49,10 +53,8 @@ function requireUseSyncExternalStoreShim_production_min() {
49
53
  return b();
50
54
  }
51
55
  var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q;
52
- useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
53
- return useSyncExternalStoreShim_production_min;
56
+ useSyncExternalStoreShim_production_min.__exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
57
+ return useSyncExternalStoreShim_production_min.__exports;
54
58
  }
55
- export {
56
- requireUseSyncExternalStoreShim_production_min as __require
57
- };
59
+ exports.__require = requireUseSyncExternalStoreShim_production_min;
58
60
  //# sourceMappingURL=use-sync-external-store-shim.production.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-sync-external-store-shim.production.min.js","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its 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'use strict';var e=require(\"react\");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k=\"function\"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d}\nfunction r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}function t(a,b){return b()}var u=\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement?t:q;exports.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;\n"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;;;AASa,MAAI,IAAEA;AAAiB,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,MAAI,MAAI,MAAI,KAAG,IAAE,MAAI,IAAE,MAAI,MAAI,KAAG,MAAI;AAAA,EAAC;AAAC,MAAI,IAAE,eAAa,OAAO,OAAO,KAAG,OAAO,KAAG,GAAE,IAAE,EAAE,UAAS,IAAE,EAAE,WAAU,IAAE,EAAE,iBAAgB,IAAE,EAAE;AAAc,WAAS,EAAE,GAAE,GAAE;AAAC,QAAI,IAAE,EAAC,GAAG,IAAE,EAAE,EAAC,MAAK,EAAC,OAAM,GAAE,aAAY,EAAC,EAAC,CAAC,GAAE,IAAE,EAAE,GAAG,MAAK,IAAE,EAAE;AAAG,MAAE,WAAU;AAAC,QAAE,QAAM;AAAE,QAAE,cAAY;AAAE,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,IAAC,GAAE,CAAC,GAAE,GAAE,CAAC,CAAC;AAAE,MAAE,WAAU;AAAC,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAE,aAAO,EAAE,WAAU;AAAC,UAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,MAAC,CAAC;AAAA,IAAC,GAAE,CAAC,CAAC,CAAC;AAAE,MAAE,CAAC;AAAE,WAAO;AAAA,EAAC;AAClc,WAAS,EAAE,GAAE;AAAC,QAAI,IAAE,EAAE;AAAY,QAAE,EAAE;AAAM,QAAG;AAAC,UAAI,IAAE,EAAG;AAAC,aAAM,CAAC,EAAE,GAAE,CAAC;AAAA,IAAC,SAAO,GAAN;AAAS,aAAM;AAAA,IAAE;AAAA,EAAC;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,EAAC;AAAA,EAAE;AAAC,MAAI,IAAE,gBAAc,OAAO,UAAQ,gBAAc,OAAO,OAAO,YAAU,gBAAc,OAAO,OAAO,SAAS,gBAAc,IAAE;AAAE,0CAA4B,uBAAC,WAAS,EAAE,uBAAqB,EAAE,uBAAqB;;;"}
1
+ {"version":3,"file":"use-sync-external-store-shim.production.min.js","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its 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'use strict';var e=require(\"react\");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k=\"function\"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d}\nfunction r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}function t(a,b){return b()}var u=\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement?t:q;exports.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u;\n"],"names":["require$$0","useSyncExternalStoreShim_production_min"],"mappings":";;;;;;;;;;;;;;;;;;;;AASa,MAAI,IAAEA,oBAAgB;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,MAAI,MAAI,MAAI,KAAG,IAAE,MAAI,IAAE,MAAI,MAAI,KAAG,MAAI;AAAA,EAAC;AAAC,MAAI,IAAE,eAAa,OAAO,OAAO,KAAG,OAAO,KAAG,GAAE,IAAE,EAAE,UAAS,IAAE,EAAE,WAAU,IAAE,EAAE,iBAAgB,IAAE,EAAE;AAAc,WAAS,EAAE,GAAE,GAAE;AAAC,QAAI,IAAE,EAAC,GAAG,IAAE,EAAE,EAAC,MAAK,EAAC,OAAM,GAAE,aAAY,EAAC,EAAC,CAAC,GAAE,IAAE,EAAE,GAAG,MAAK,IAAE,EAAE;AAAG,MAAE,WAAU;AAAC,QAAE,QAAM;AAAE,QAAE,cAAY;AAAE,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,IAAC,GAAE,CAAC,GAAE,GAAE,CAAC,CAAC;AAAE,MAAE,WAAU;AAAC,QAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAE,aAAO,EAAE,WAAU;AAAC,UAAE,CAAC,KAAG,EAAE,EAAC,MAAK,EAAC,CAAC;AAAA,MAAC,CAAC;AAAA,IAAC,GAAE,CAAC,CAAC,CAAC;AAAE,MAAE,CAAC;AAAE,WAAO;AAAA,EAAC;AAClc,WAAS,EAAE,GAAE;AAAC,QAAI,IAAE,EAAE;AAAY,QAAE,EAAE;AAAM,QAAG;AAAC,UAAI,IAAE,EAAG;AAAC,aAAM,CAAC,EAAE,GAAE,CAAC;AAAA,IAAC,SAAO,GAAN;AAAS,aAAM;AAAA,IAAE;AAAA,EAAC;AAAC,WAAS,EAAE,GAAE,GAAE;AAAC,WAAO,EAAC;AAAA,EAAE;AAAC,MAAI,IAAE,gBAAc,OAAO,UAAQ,gBAAc,OAAO,OAAO,YAAU,gBAAc,OAAO,OAAO,SAAS,gBAAc,IAAE;AAAEC,0CAA4B,UAAA,uBAAC,WAAS,EAAE,uBAAqB,EAAE,uBAAqB;;;;"}
@@ -1,9 +1,5 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const useSyncExternalStoreShim_production_min = require("../../../_virtual/use-sync-external-store-shim.production.min.cjs");
4
- const require$$0 = require("react");
5
- const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
6
- const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
1
+ import { __exports as useSyncExternalStoreShim_production_min } from "../../../_virtual/use-sync-external-store-shim.production.min.mjs";
2
+ import require$$0__default from "react";
7
3
  /**
8
4
  * @license React
9
5
  * use-sync-external-store-shim.production.min.js
@@ -16,9 +12,9 @@ const require$$0__default = /* @__PURE__ */ _interopDefaultLegacy(require$$0);
16
12
  var hasRequiredUseSyncExternalStoreShim_production_min;
17
13
  function requireUseSyncExternalStoreShim_production_min() {
18
14
  if (hasRequiredUseSyncExternalStoreShim_production_min)
19
- return useSyncExternalStoreShim_production_min.__exports;
15
+ return useSyncExternalStoreShim_production_min;
20
16
  hasRequiredUseSyncExternalStoreShim_production_min = 1;
21
- var e = require$$0__default.default;
17
+ var e = require$$0__default;
22
18
  function h(a, b) {
23
19
  return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
24
20
  }
@@ -53,8 +49,10 @@ function requireUseSyncExternalStoreShim_production_min() {
53
49
  return b();
54
50
  }
55
51
  var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q;
56
- useSyncExternalStoreShim_production_min.__exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
57
- return useSyncExternalStoreShim_production_min.__exports;
52
+ useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
53
+ return useSyncExternalStoreShim_production_min;
58
54
  }
59
- exports.__require = requireUseSyncExternalStoreShim_production_min;
60
- //# sourceMappingURL=use-sync-external-store-shim.production.min.cjs.map
55
+ export {
56
+ requireUseSyncExternalStoreShim_production_min as __require
57
+ };
58
+ //# sourceMappingURL=use-sync-external-store-shim.production.min.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-sync-external-store-shim.production.min.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its 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'use strict';var e=require(\"react\");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k=\"function\"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d}\nfunction r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}function t(a,b){return b()}var u=\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement?t:q;exports.useSyncEx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AO,OAAO,YAAU,gBAAc,OAAO,OAAO,SAAS,gBAAc,IAAE;AAAE,0CAA4B,uBAAC,WAAS,EAAE,uBAAqB,EAAE,uBAAqB;;;"}
@@ -1,21 +1,21 @@
1
- import { s as shim } from "../../../_virtual/index.js";
2
- import { __require as requireUseSyncExternalStoreShim_production_min } from "../cjs/use-sync-external-store-shim.production.min.js";
3
- import { __require as requireUseSyncExternalStoreShim_development } from "../cjs/use-sync-external-store-shim.development.js";
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const index = require("../../../_virtual/index.js");
4
+ const useSyncExternalStoreShim_production_min = require("../cjs/use-sync-external-store-shim.production.min.js");
5
+ const useSyncExternalStoreShim_development = require("../cjs/use-sync-external-store-shim.development.js");
4
6
  var hasRequiredShim;
5
7
  function requireShim() {
6
8
  if (hasRequiredShim)
7
- return shim.exports;
9
+ return index.shim.exports;
8
10
  hasRequiredShim = 1;
9
- (function(module) {
11
+ (function(module2) {
10
12
  if (process.env.NODE_ENV === "production") {
11
- module.exports = requireUseSyncExternalStoreShim_production_min();
13
+ module2.exports = useSyncExternalStoreShim_production_min.__require();
12
14
  } else {
13
- module.exports = requireUseSyncExternalStoreShim_development();
15
+ module2.exports = useSyncExternalStoreShim_development.__require();
14
16
  }
15
- })(shim);
16
- return shim.exports;
17
+ })(index.shim);
18
+ return index.shim.exports;
17
19
  }
18
- export {
19
- requireShim as __require
20
- };
20
+ exports.__require = requireShim;
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;AAEA,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,aAAA,UAAiBA;IACnB,OAAO;AACL,aAAA,UAAiBC;IACnB;AAAA;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["module","require$$0","require$$1"],"mappings":";;;;;;;;;;;AAEA,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,MAAAA,QAAA,UAAiBC,wCAAAA;IACnB,OAAO;AACL,MAAAD,QAAA,UAAiBE,qCAAAA;IACnB;AAAA;;;;"}
@@ -0,0 +1,21 @@
1
+ import { s as shim } from "../../../_virtual/index.mjs";
2
+ import { __require as requireUseSyncExternalStoreShim_production_min } from "../cjs/use-sync-external-store-shim.production.min.mjs";
3
+ import { __require as requireUseSyncExternalStoreShim_development } from "../cjs/use-sync-external-store-shim.development.mjs";
4
+ var hasRequiredShim;
5
+ function requireShim() {
6
+ if (hasRequiredShim)
7
+ return shim.exports;
8
+ hasRequiredShim = 1;
9
+ (function(module) {
10
+ if (process.env.NODE_ENV === "production") {
11
+ module.exports = requireUseSyncExternalStoreShim_production_min();
12
+ } else {
13
+ module.exports = requireUseSyncExternalStoreShim_development();
14
+ }
15
+ })(shim);
16
+ return shim.exports;
17
+ }
18
+ export {
19
+ requireShim as __require
20
+ };
21
+ //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["module","require$$0","require$$1"],"mappings":";;;;;;;;;;;AAEA,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,MAAAA,QAAA,UAAiBC,wCAAAA;IACnB,OAAO;AACL,MAAAD,QAAA,UAAiBE,qCAAAA;IACnB;AAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;AAEA,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,aAAA,UAAiBA;IACnB,OAAO;AACL,aAAA,UAAiBC;IACnB;AAAA;;;"}
@@ -1,11 +1,12 @@
1
- import { w as withSelector } from "../../../_virtual/with-selector.js";
2
- import { __require as requireWithSelector_production_min } from "../cjs/use-sync-external-store-shim/with-selector.production.min.js";
3
- import { __require as requireWithSelector_development } from "../cjs/use-sync-external-store-shim/with-selector.development.js";
1
+ "use strict";
2
+ const withSelector = require("../../../_virtual/with-selector.js");
3
+ const withSelector_production_min = require("../cjs/use-sync-external-store-shim/with-selector.production.min.js");
4
+ const withSelector_development = require("../cjs/use-sync-external-store-shim/with-selector.development.js");
4
5
  (function(module) {
5
6
  if (process.env.NODE_ENV === "production") {
6
- module.exports = requireWithSelector_production_min();
7
+ module.exports = withSelector_production_min.__require();
7
8
  } else {
8
- module.exports = requireWithSelector_development();
9
+ module.exports = withSelector_development.__require();
9
10
  }
10
- })(withSelector);
11
+ })(withSelector.withSelector);
11
12
  //# sourceMappingURL=with-selector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-selector.js","sources":["../../../../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;AAEA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,WAAA,UAAiBA;EACnB,OAAO;AACL,WAAA,UAAiBC;EACnB;;"}
1
+ {"version":3,"file":"with-selector.js","sources":["../../../../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;AAEA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,WAAA,UAAiBA,4BAAAA;EACnB,OAAO;AACL,WAAA,UAAiBC,yBAAAA;EACnB;;"}
@@ -0,0 +1,11 @@
1
+ import { w as withSelector } from "../../../_virtual/with-selector.mjs";
2
+ import { __require as requireWithSelector_production_min } from "../cjs/use-sync-external-store-shim/with-selector.production.min.mjs";
3
+ import { __require as requireWithSelector_development } from "../cjs/use-sync-external-store-shim/with-selector.development.mjs";
4
+ (function(module) {
5
+ if (process.env.NODE_ENV === "production") {
6
+ module.exports = requireWithSelector_production_min();
7
+ } else {
8
+ module.exports = requireWithSelector_development();
9
+ }
10
+ })(withSelector);
11
+ //# sourceMappingURL=with-selector.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"with-selector.cjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["module","require$$0","require$$1"],"mappings":";;;;;AAEA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,IAAAA,QAAA,UAAiBC,4BAAAA;EACnB,OAAO;AACL,IAAAD,QAAA,UAAiBE,yBAAAA;EACnB;;"}
1
+ {"version":3,"file":"with-selector.mjs","sources":["../../../../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;AAEA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,WAAA,UAAiBA;EACnB,OAAO;AACL,WAAA,UAAiBC;EACnB;;"}
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
1
3
  var g = /* @__PURE__ */ new Set([
2
4
  "domain",
3
5
  "path",
@@ -21,7 +23,5 @@ function u(a) {
21
23
  (s = t.trim().toLowerCase()) && (s === "httponly" || s === "secure") && (r[s] = true);
22
24
  return r;
23
25
  }
24
- export {
25
- u as parse
26
- };
26
+ exports.parse = u;
27
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/worktop/cookie/index.mjs"],"sourcesContent":["// src/cookie.ts\nvar g = new Set([\n \"domain\",\n \"path\",\n \"max-age\",\n \"expires\",\n \"samesite\",\n \"secure\",\n \"httponly\"\n]);\nfunction u(a) {\n let r = {}, e, t, n = 0, m = a.split(/;\\s*/g), s, i;\n for (; n < m.length; n++)\n if (t = m[n], e = t.indexOf(\"=\"), ~e) {\n if (s = t.substring(0, e++).trim(), i = t.substring(e).trim(), i[0] === '\"' && (i = i.substring(1, i.length - 1)), ~i.indexOf(\"%\"))\n try {\n i = decodeURIComponent(i);\n } catch (f) {\n }\n g.has(t = s.toLowerCase()) ? t === \"expires\" ? r.expires = new Date(i) : t === \"max-age\" ? r.maxage = +i : r[t] = i : r[s] = i;\n } else\n (s = t.trim().toLowerCase()) && (s === \"httponly\" || s === \"secure\") && (r[s] = !0);\n return r;\n}\nfunction l(a, r, e = {}) {\n let t = a + \"=\" + encodeURIComponent(r);\n return e.expires && (t += \"; Expires=\" + new Date(e.expires).toUTCString()), e.maxage != null && e.maxage >= 0 && (t += \"; Max-Age=\" + (e.maxage | 0)), e.domain && (t += \"; Domain=\" + e.domain), e.path && (t += \"; Path=\" + e.path), e.samesite && (t += \"; SameSite=\" + e.samesite), (e.secure || e.samesite === \"None\") && (t += \"; Secure\"), e.httponly && (t += \"; HttpOnly\"), t;\n}\nexport {\n u as parse,\n l as stringify\n};\n"],"names":[],"mappings":"AACA,IAAI,IAAI,oBAAI,IAAI;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AACD,SAAS,EAAE,GAAG;AACZ,MAAI,IAAI,CAAE,GAAE,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,OAAO,GAAG,GAAG;AAClD,SAAO,IAAI,EAAE,QAAQ;AACnB,QAAI,IAAI,EAAE,IAAI,IAAI,EAAE,QAAQ,GAAG,GAAG,CAAC,GAAG;AACpC,UAAI,IAAI,EAAE,UAAU,GAAG,GAAG,EAAE,KAAM,GAAE,IAAI,EAAE,UAAU,CAAC,EAAE,KAAM,GAAE,EAAE,OAAO,QAAQ,IAAI,EAAE,UAAU,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG;AAC/H,YAAI;AACF,cAAI,mBAAmB,CAAC;AAAA,QACzB,SAAQ,GAAP;AAAA,QACD;AACH,QAAE,IAAI,IAAI,EAAE,YAAa,CAAA,IAAI,MAAM,YAAY,EAAE,UAAU,IAAI,KAAK,CAAC,IAAI,MAAM,YAAY,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,KAAK;AAAA,IAC9H;AACC,OAAC,IAAI,EAAE,KAAM,EAAC,YAAW,OAAQ,MAAM,cAAc,MAAM,cAAc,EAAE,KAAK;AACpF,SAAO;AACT;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/worktop/cookie/index.mjs"],"sourcesContent":["// src/cookie.ts\nvar g = new Set([\n \"domain\",\n \"path\",\n \"max-age\",\n \"expires\",\n \"samesite\",\n \"secure\",\n \"httponly\"\n]);\nfunction u(a) {\n let r = {}, e, t, n = 0, m = a.split(/;\\s*/g), s, i;\n for (; n < m.length; n++)\n if (t = m[n], e = t.indexOf(\"=\"), ~e) {\n if (s = t.substring(0, e++).trim(), i = t.substring(e).trim(), i[0] === '\"' && (i = i.substring(1, i.length - 1)), ~i.indexOf(\"%\"))\n try {\n i = decodeURIComponent(i);\n } catch (f) {\n }\n g.has(t = s.toLowerCase()) ? t === \"expires\" ? r.expires = new Date(i) : t === \"max-age\" ? r.maxage = +i : r[t] = i : r[s] = i;\n } else\n (s = t.trim().toLowerCase()) && (s === \"httponly\" || s === \"secure\") && (r[s] = !0);\n return r;\n}\nfunction l(a, r, e = {}) {\n let t = a + \"=\" + encodeURIComponent(r);\n return e.expires && (t += \"; Expires=\" + new Date(e.expires).toUTCString()), e.maxage != null && e.maxage >= 0 && (t += \"; Max-Age=\" + (e.maxage | 0)), e.domain && (t += \"; Domain=\" + e.domain), e.path && (t += \"; Path=\" + e.path), e.samesite && (t += \"; SameSite=\" + e.samesite), (e.secure || e.samesite === \"None\") && (t += \"; Secure\"), e.httponly && (t += \"; HttpOnly\"), t;\n}\nexport {\n u as parse,\n l as stringify\n};\n"],"names":[],"mappings":";;AACA,IAAI,IAAI,oBAAI,IAAI;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AACD,SAAS,EAAE,GAAG;AACZ,MAAI,IAAI,CAAE,GAAE,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,OAAO,GAAG,GAAG;AAClD,SAAO,IAAI,EAAE,QAAQ;AACnB,QAAI,IAAI,EAAE,IAAI,IAAI,EAAE,QAAQ,GAAG,GAAG,CAAC,GAAG;AACpC,UAAI,IAAI,EAAE,UAAU,GAAG,GAAG,EAAE,KAAM,GAAE,IAAI,EAAE,UAAU,CAAC,EAAE,KAAM,GAAE,EAAE,OAAO,QAAQ,IAAI,EAAE,UAAU,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG;AAC/H,YAAI;AACF,cAAI,mBAAmB,CAAC;AAAA,QACzB,SAAQ,GAAP;AAAA,QACD;AACH,QAAE,IAAI,IAAI,EAAE,YAAa,CAAA,IAAI,MAAM,YAAY,EAAE,UAAU,IAAI,KAAK,CAAC,IAAI,MAAM,YAAY,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,KAAK;AAAA,IAC9H;AACC,OAAC,IAAI,EAAE,KAAM,EAAC,YAAW,OAAQ,MAAM,cAAc,MAAM,cAAc,EAAE,KAAK;AACpF,SAAO;AACT;;"}
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
1
  var g = /* @__PURE__ */ new Set([
4
2
  "domain",
5
3
  "path",
@@ -23,5 +21,7 @@ function u(a) {
23
21
  (s = t.trim().toLowerCase()) && (s === "httponly" || s === "secure") && (r[s] = true);
24
22
  return r;
25
23
  }
26
- exports.parse = u;
27
- //# sourceMappingURL=index.cjs.map
24
+ export {
25
+ u as parse
26
+ };
27
+ //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/worktop/cookie/index.mjs"],"sourcesContent":["// src/cookie.ts\nvar g = new Set([\n \"domain\",\n \"path\",\n \"max-age\",\n \"expires\",\n \"samesite\",\n \"secure\",\n \"httponly\"\n]);\nfunction u(a) {\n let r = {}, e, t, n = 0, m = a.split(/;\\s*/g), s, i;\n for (; n < m.length; n++)\n if (t = m[n], e = t.indexOf(\"=\"), ~e) {\n if (s = t.substring(0, e++).trim(), i = t.substring(e).trim(), i[0] === '\"' && (i = i.substring(1, i.length - 1)), ~i.indexOf(\"%\"))\n try {\n i = decodeURIComponent(i);\n } catch (f) {\n }\n g.has(t = s.toLowerCase()) ? t === \"expires\" ? r.expires = new Date(i) : t === \"max-age\" ? r.maxage = +i : r[t] = i : r[s] = i;\n } else\n (s = t.trim().toLowerCase()) && (s === \"httponly\" || s === \"secure\") && (r[s] = !0);\n return r;\n}\nfunction l(a, r, e = {}) {\n let t = a + \"=\" + encodeURIComponent(r);\n return e.expires && (t += \"; Expires=\" + new Date(e.expires).toUTCString()), e.maxage != null && e.maxage >= 0 && (t += \"; Max-Age=\" + (e.maxage | 0)), e.domain && (t += \"; Domain=\" + e.domain), e.path && (t += \"; Path=\" + e.path), e.samesite && (t += \"; SameSite=\" + e.samesite), (e.secure || e.samesite === \"None\") && (t += \"; Secure\"), e.httponly && (t += \"; HttpOnly\"), t;\n}\nexport {\n u as parse,\n l as stringify\n};\n"],"names":[],"mappings":";;AACA,IAAI,IAAI,oBAAI,IAAI;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AACD,SAAS,EAAE,GAAG;AACZ,MAAI,IAAI,CAAE,GAAE,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,OAAO,GAAG,GAAG;AAClD,SAAO,IAAI,EAAE,QAAQ;AACnB,QAAI,IAAI,EAAE,IAAI,IAAI,EAAE,QAAQ,GAAG,GAAG,CAAC,GAAG;AACpC,UAAI,IAAI,EAAE,UAAU,GAAG,GAAG,EAAE,KAAM,GAAE,IAAI,EAAE,UAAU,CAAC,EAAE,KAAM,GAAE,EAAE,OAAO,QAAQ,IAAI,EAAE,UAAU,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG;AAC/H,YAAI;AACF,cAAI,mBAAmB,CAAC;AAAA,QACzB,SAAQ,GAAP;AAAA,QACD;AACH,QAAE,IAAI,IAAI,EAAE,YAAa,CAAA,IAAI,MAAM,YAAY,EAAE,UAAU,IAAI,KAAK,CAAC,IAAI,MAAM,YAAY,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,KAAK;AAAA,IAC9H;AACC,OAAC,IAAI,EAAE,KAAM,EAAC,YAAW,OAAQ,MAAM,cAAc,MAAM,cAAc,EAAE,KAAK;AACpF,SAAO;AACT;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../../../node_modules/worktop/cookie/index.mjs"],"sourcesContent":["// src/cookie.ts\nvar g = new Set([\n \"domain\",\n \"path\",\n \"max-age\",\n \"expires\",\n \"samesite\",\n \"secure\",\n \"httponly\"\n]);\nfunction u(a) {\n let r = {}, e, t, n = 0, m = a.split(/;\\s*/g), s, i;\n for (; n < m.length; n++)\n if (t = m[n], e = t.indexOf(\"=\"), ~e) {\n if (s = t.substring(0, e++).trim(), i = t.substring(e).trim(), i[0] === '\"' && (i = i.substring(1, i.length - 1)), ~i.indexOf(\"%\"))\n try {\n i = decodeURIComponent(i);\n } catch (f) {\n }\n g.has(t = s.toLowerCase()) ? t === \"expires\" ? r.expires = new Date(i) : t === \"max-age\" ? r.maxage = +i : r[t] = i : r[s] = i;\n } else\n (s = t.trim().toLowerCase()) && (s === \"httponly\" || s === \"secure\") && (r[s] = !0);\n return r;\n}\nfunction l(a, r, e = {}) {\n let t = a + \"=\" + encodeURIComponent(r);\n return e.expires && (t += \"; Expires=\" + new Date(e.expires).toUTCString()), e.maxage != null && e.maxage >= 0 && (t += \"; Max-Age=\" + (e.maxage | 0)), e.domain && (t += \"; Domain=\" + e.domain), e.path && (t += \"; Path=\" + e.path), e.samesite && (t += \"; SameSite=\" + e.samesite), (e.secure || e.samesite === \"None\") && (t += \"; Secure\"), e.httponly && (t += \"; HttpOnly\"), t;\n}\nexport {\n u as parse,\n l as stringify\n};\n"],"names":[],"mappings":"AACA,IAAI,IAAI,oBAAI,IAAI;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AACD,SAAS,EAAE,GAAG;AACZ,MAAI,IAAI,CAAE,GAAE,GAAG,GAAG,IAAI,GAAG,IAAI,EAAE,MAAM,OAAO,GAAG,GAAG;AAClD,SAAO,IAAI,EAAE,QAAQ;AACnB,QAAI,IAAI,EAAE,IAAI,IAAI,EAAE,QAAQ,GAAG,GAAG,CAAC,GAAG;AACpC,UAAI,IAAI,EAAE,UAAU,GAAG,GAAG,EAAE,KAAM,GAAE,IAAI,EAAE,UAAU,CAAC,EAAE,KAAM,GAAE,EAAE,OAAO,QAAQ,IAAI,EAAE,UAAU,GAAG,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG;AAC/H,YAAI;AACF,cAAI,mBAAmB,CAAC;AAAA,QACzB,SAAQ,GAAP;AAAA,QACD;AACH,QAAE,IAAI,IAAI,EAAE,YAAa,CAAA,IAAI,MAAM,YAAY,EAAE,UAAU,IAAI,KAAK,CAAC,IAAI,MAAM,YAAY,EAAE,SAAS,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,KAAK;AAAA,IAC9H;AACC,OAAC,IAAI,EAAE,KAAM,EAAC,YAAW,OAAQ,MAAM,cAAc,MAAM,cAAc,EAAE,KAAK;AACpF,SAAO;AACT;"}
@@ -1,5 +1,5 @@
1
- const SFAPI_VERSION = "2022-07";
2
- export {
3
- SFAPI_VERSION
4
- };
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const SFAPI_VERSION = "2022-10";
4
+ exports.SFAPI_VERSION = SFAPI_VERSION;
5
5
  //# sourceMappingURL=storefront-api-constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"storefront-api-constants.js","sources":["../../src/storefront-api-constants.ts"],"sourcesContent":["export const SFAPI_VERSION = '2022-07';\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;"}
1
+ {"version":3,"file":"storefront-api-constants.js","sources":["../../src/storefront-api-constants.ts"],"sourcesContent":["export const SFAPI_VERSION = '2022-10';\n"],"names":[],"mappings":";;AAAO,MAAM,gBAAgB;;"}
@@ -0,0 +1,5 @@
1
+ const SFAPI_VERSION = "2022-10";
2
+ export {
3
+ SFAPI_VERSION
4
+ };
5
+ //# sourceMappingURL=storefront-api-constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storefront-api-constants.mjs","sources":["../../src/storefront-api-constants.ts"],"sourcesContent":["export const SFAPI_VERSION = '2022-10';\n"],"names":[],"mappings":"AAAO,MAAM,gBAAgB;"}