@unchainedshop/admin-ui 5.0.0-alpha.10 → 5.0.0-alpha.12

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 (915) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
  3. package/dist/{chunk-HTPSKUXQ.js → chunk-33ZO52Z7.js} +3337 -1778
  4. package/dist/{chunk-AE5LOZGH.js → chunk-4MXPTVDL.js} +16 -58
  5. package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
  6. package/dist/{chunk-AOR2B5N5.js → chunk-BOMSMJF2.js} +4 -1
  7. package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
  8. package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
  9. package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
  10. package/dist/{chunk-E7BVYJ3R.js → chunk-ED2FP42R.js} +2 -2
  11. package/dist/{chunk-H6G4UTZ5.js → chunk-GWMLIF3C.js} +5 -11
  12. package/dist/chunk-IWKDBADX.js +73 -0
  13. package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
  14. package/dist/chunk-VYEXPG3M.js +107 -0
  15. package/dist/{chunk-DTJ2DTKS.js → chunk-YUXHILXY.js} +15 -3
  16. package/dist/{chunk-VDKQGOMV.js → chunk-ZUOVKRKC.js} +118 -1
  17. package/dist/components/ui/Badge.d.ts.map +1 -1
  18. package/dist/components/ui/BreadCrumbs.d.ts.map +1 -1
  19. package/dist/components/ui/Loading.d.ts +8 -1
  20. package/dist/components/ui/Loading.d.ts.map +1 -1
  21. package/dist/components/ui/Pagination.d.ts.map +1 -1
  22. package/dist/components/ui/form/Combobox.d.ts.map +1 -1
  23. package/dist/components/ui/form/TextField.d.ts.map +1 -1
  24. package/dist/components/ui/index.d.ts +1 -0
  25. package/dist/components/ui/index.d.ts.map +1 -1
  26. package/dist/form.js +814 -292
  27. package/dist/gql/operation-types.d.ts +195 -19
  28. package/dist/gql/operation-types.d.ts.map +1 -1
  29. package/dist/gql/schema-types.d.ts +65 -9
  30. package/dist/gql/schema-types.d.ts.map +1 -1
  31. package/dist/hooks.js +5 -5
  32. package/dist/modal.js +5 -5
  33. package/dist/modules/accounts.js +183 -3
  34. package/dist/modules/assortment.js +82 -3
  35. package/dist/modules/common/components/AppContext.d.ts.map +1 -1
  36. package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
  37. package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -1
  38. package/dist/modules/common/data/miscellaneous.d.ts +1 -0
  39. package/dist/modules/common/data/miscellaneous.d.ts.map +1 -1
  40. package/dist/modules/country.js +1 -1
  41. package/dist/modules/currency.js +1 -1
  42. package/dist/modules/delivery-provider.js +1 -1
  43. package/dist/modules/enrollment.js +66 -9
  44. package/dist/modules/event.js +1 -1
  45. package/dist/modules/filter.js +52 -3
  46. package/dist/modules/language.js +1 -1
  47. package/dist/modules/order.js +2 -2
  48. package/dist/modules/payment-providers.js +1 -1
  49. package/dist/modules/product-review.js +3 -3
  50. package/dist/modules/product.js +261 -13
  51. package/dist/modules/quotation.js +8 -1
  52. package/dist/modules/token.js +2 -2
  53. package/dist/modules/warehousing-providers.js +1 -1
  54. package/dist/modules/work.js +18 -102
  55. package/dist/plugins.js +1 -1
  56. package/dist/providers.js +6 -6
  57. package/dist/shims/admin-ui-plugins.js +1 -1
  58. package/dist/shims/apollo-client-react.js +1 -1
  59. package/dist/shims/apollo-client.js +1 -1
  60. package/dist/shims/next-head.js +1 -1
  61. package/dist/shims/next-image.js +1 -1
  62. package/dist/shims/next-link.js +1 -1
  63. package/dist/shims/next-router.js +1 -1
  64. package/dist/shims/react-dom-client.js +1 -1
  65. package/dist/shims/react-dom.js +1 -1
  66. package/dist/shims/react-hook-form.js +1 -1
  67. package/dist/shims/react-intl.js +1 -1
  68. package/dist/shims/react-jsx-runtime.js +1 -1
  69. package/dist/shims/react-toastify.js +1 -1
  70. package/dist/shims/react.js +1 -1
  71. package/dist/theme.js +1 -1
  72. package/dist/ui.js +3965 -3417
  73. package/out/403/index.html +3 -2
  74. package/out/404/index.html +3 -2
  75. package/out/404.html +3 -2
  76. package/out/423/index.html +3 -2
  77. package/out/500/index.html +3 -2
  78. package/out/_next/static/bg3Z_ZBjStiTvJAHlsPDE/_buildManifest.js +262 -0
  79. package/out/_next/static/chunks/0-kvzk5p0hp-4.js +11 -0
  80. package/out/_next/static/chunks/0-nzk-g6k41e-.js +119 -0
  81. package/out/_next/static/chunks/00wlebfe9j80r.js +24 -0
  82. package/out/_next/static/chunks/01isyk4v59s_4.js +5 -0
  83. package/out/_next/static/chunks/01otzjqxk372n.js +1 -0
  84. package/out/_next/static/chunks/03x_mgpai_kbn.js +1 -0
  85. package/out/_next/static/chunks/04327_1fq5i7-.js +9 -0
  86. package/out/_next/static/chunks/04_r4qnsjmy81.js +4 -0
  87. package/out/_next/static/chunks/04egfa7kckou_.js +165 -0
  88. package/out/_next/static/chunks/05474mknnr_tw.js +4 -0
  89. package/out/_next/static/chunks/{2kzyda4a6mqut.js → 06kqbwwnuu3te.js} +1 -1
  90. package/out/_next/static/chunks/0728622u98g6r.js +1 -0
  91. package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
  92. package/out/_next/static/chunks/0_3suta3t3lus.js +5 -0
  93. package/out/_next/static/chunks/0_a5fzdztv84p.js +272 -0
  94. package/out/_next/static/chunks/0_ppdn6x6ci0v.js +31 -0
  95. package/out/_next/static/chunks/0br42_xli8-2x.js +6 -0
  96. package/out/_next/static/chunks/0cdk-eqghrgee.js +5 -0
  97. package/out/_next/static/chunks/0d54jo566j9ka.js +12 -0
  98. package/out/_next/static/chunks/0gfia1t8drmnx.js +182 -0
  99. package/out/_next/static/chunks/0gwd6ju8j_bwr.js +39 -0
  100. package/out/_next/static/chunks/0hv3x0mo1tt7i.js +5 -0
  101. package/out/_next/static/chunks/0i481ym5-ss1t.js +5 -0
  102. package/out/_next/static/chunks/0iohwbogpxe5r.js +1 -0
  103. package/out/_next/static/chunks/0j46qnxaxeqk_.js +1 -0
  104. package/out/_next/static/chunks/0mcu2o1ir2t_w.js +7 -0
  105. package/out/_next/static/chunks/0o4aj3bm49d_h.js +61 -0
  106. package/out/_next/static/chunks/0op3htrvd-ix6.js +5 -0
  107. package/out/_next/static/chunks/0p55j-ysba0wq.js +63 -0
  108. package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
  109. package/out/_next/static/chunks/0qv2nce7okzy5.js +103 -0
  110. package/out/_next/static/chunks/0rrhyxuk32t3n.js +95 -0
  111. package/out/_next/static/chunks/0rt4le6syjqdj.js +21 -0
  112. package/out/_next/static/chunks/0s2jvi6_qj0lc.js +16 -0
  113. package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
  114. package/out/_next/static/chunks/0v1tb34y7e1y4.js +5 -0
  115. package/out/_next/static/chunks/0w9d4swf95hvu.js +33 -0
  116. package/out/_next/static/chunks/0we1tw4xvdb7o.js +7 -0
  117. package/out/_next/static/chunks/0zlzflyq18hhy.js +4 -0
  118. package/out/_next/static/chunks/0zqdvl0b4w5nc.js +7 -0
  119. package/out/_next/static/chunks/1-wbp_4f-c4-3.js +837 -0
  120. package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
  121. package/out/_next/static/chunks/12cy_5m_0fj96.js +44 -0
  122. package/out/_next/static/chunks/131uuhqexo4si.js +4 -0
  123. package/out/_next/static/chunks/14eqp21pspjud.js +234 -0
  124. package/out/_next/static/chunks/14jd75j8ij4u2.js +3 -0
  125. package/out/_next/static/chunks/153-_av1r1ssb.js +4 -0
  126. package/out/_next/static/chunks/157ndq6b9jcvv.js +342 -0
  127. package/out/_next/static/chunks/177p92k5pdloo.js +1 -0
  128. package/out/_next/static/chunks/19-1z6h5eeq_w.js +134 -0
  129. package/out/_next/static/chunks/1bxznw06g-5u2.js +5 -0
  130. package/out/_next/static/chunks/1bypzyw5fs3w2.js +59 -0
  131. package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
  132. package/out/_next/static/chunks/1e2jykfql801f.js +16 -0
  133. package/out/_next/static/chunks/1eokbzdgdicpa.js +33 -0
  134. package/out/_next/static/chunks/1f0t23r6y0hni.js +1 -0
  135. package/out/_next/static/chunks/1fehej_7rgmmo.js +5 -0
  136. package/out/_next/static/chunks/1gl4h7w9t850f.js +1 -0
  137. package/out/_next/static/chunks/1gv0k-w7m83om.js +41 -0
  138. package/out/_next/static/chunks/1hzt0aoixrv4_.js +7 -0
  139. package/out/_next/static/chunks/1ia6hdgf7pj9y.js +174 -0
  140. package/out/_next/static/chunks/1in8spfokcjsp.js +8 -0
  141. package/out/_next/static/chunks/1j2gw9gyg8j80.js +5 -0
  142. package/out/_next/static/chunks/1k06h8wbfrx_v.js +5 -0
  143. package/out/_next/static/chunks/1kdcu-0jkya-b.js +61 -0
  144. package/out/_next/static/chunks/1msc4qrgaanh7.js +43 -0
  145. package/out/_next/static/chunks/1mx0p6r-9c5u_.js +4 -0
  146. package/out/_next/static/chunks/1oqc8etm-romv.js +1 -0
  147. package/out/_next/static/chunks/1p5lt4tkyouxz.js +4 -0
  148. package/out/_next/static/chunks/1q7wxp4rlhy0x.js +12 -0
  149. package/out/_next/static/chunks/1r61kgm2ct0nf.js +74 -0
  150. package/out/_next/static/chunks/1rmlm4404fsge.js +15 -0
  151. package/out/_next/static/chunks/1s3ool53utm9o.js +39 -0
  152. package/out/_next/static/chunks/1sc2ug6_szd_d.js +2 -0
  153. package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
  154. package/out/_next/static/chunks/1t8jj0-6g8uyd.js +1 -0
  155. package/out/_next/static/chunks/1tbd6m-xvx0um.js +353 -0
  156. package/out/_next/static/chunks/1th1-x1szvnq8.js +5 -0
  157. package/out/_next/static/chunks/1tosw188dr9d6.js +44 -0
  158. package/out/_next/static/chunks/1tw97cvdosb89.js +5 -0
  159. package/out/_next/static/chunks/1ubmbegreszhk.js +1 -0
  160. package/out/_next/static/chunks/1ug1ie2lrhi0a.js +7 -0
  161. package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
  162. package/out/_next/static/chunks/1uw7hr3o4w5cj.js +8 -0
  163. package/out/_next/static/chunks/1vzs8hvrsoslf.js +5 -0
  164. package/out/_next/static/chunks/1w6gc_cygbi6h.js +5 -0
  165. package/out/_next/static/chunks/1xybsisfyvqrj.js +115 -0
  166. package/out/_next/static/chunks/1yvl8l5yx1rj8.js +4 -0
  167. package/out/_next/static/chunks/1z-etrje5tsj6.js +7 -0
  168. package/out/_next/static/chunks/1z1d11slpalrq.js +4 -0
  169. package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
  170. package/out/_next/static/chunks/1zdral15la_p7.js +99 -0
  171. package/out/_next/static/chunks/2-4610weysas_.js +1 -0
  172. package/out/_next/static/chunks/2-qo63s4vlxol.js +156 -0
  173. package/out/_next/static/chunks/20au-bdji0nu2.js +14 -0
  174. package/out/_next/static/chunks/21zghy5-42i1e.js +1 -0
  175. package/out/_next/static/chunks/22duvsj-priip.js +7 -0
  176. package/out/_next/static/chunks/22rdge7enz4nd.js +12 -0
  177. package/out/_next/static/chunks/249b4cg2ev597.js +187 -0
  178. package/out/_next/static/chunks/24caedynuzux0.js +5 -0
  179. package/out/_next/static/chunks/25ite4-jpq_mo.js +4 -0
  180. package/out/_next/static/chunks/25vdihxswn7dy.js +1 -0
  181. package/out/_next/static/chunks/26guwpx1_pkxv.js +1 -0
  182. package/out/_next/static/chunks/28o6402k4vuky.js +11 -0
  183. package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
  184. package/out/_next/static/chunks/29x7cj-318eaa.js +1 -0
  185. package/out/_next/static/chunks/2_0v0fw6x71zy.js +46 -0
  186. package/out/_next/static/chunks/2a9dpzjx5mfjp.js +4 -0
  187. package/out/_next/static/chunks/2apnv1hcv-4zc.js +23 -0
  188. package/out/_next/static/chunks/2b4k5t_myq-pa.js +1 -0
  189. package/out/_next/static/chunks/2bugi3kot5jtu.js +1 -0
  190. package/out/_next/static/chunks/2bxdh-td1el8z.js +5 -0
  191. package/out/_next/static/chunks/2dz0_3jf4m9cy.js +31 -0
  192. package/out/_next/static/chunks/2ege1545af18d.js +4 -0
  193. package/out/_next/static/chunks/2erqawjj0rnih.js +117 -0
  194. package/out/_next/static/chunks/2gfzt_fdr-h96.js +81 -0
  195. package/out/_next/static/chunks/2grm6dtosrvoq.js +1 -0
  196. package/out/_next/static/chunks/2hc3d38gb0q-v.js +1 -0
  197. package/out/_next/static/chunks/2hci18oosfv5d.js +5 -0
  198. package/out/_next/static/chunks/2imf3_f1_ex86.js +1 -0
  199. package/out/_next/static/chunks/2ipcn3vy6d4_6.js +2 -0
  200. package/out/_next/static/chunks/2iwst7mjldlcz.js +1 -0
  201. package/out/_next/static/chunks/2ja0dztzyw8zw.js +1 -0
  202. package/out/_next/static/chunks/2ja1--2x_gs49.js +83 -0
  203. package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
  204. package/out/_next/static/chunks/2lec5u8obskt6.js +5 -0
  205. package/out/_next/static/chunks/2m38nntt3z8zi.js +103 -0
  206. package/out/_next/static/chunks/2pogx3xggqd8y.js +1 -0
  207. package/out/_next/static/chunks/2q988j4vovsiy.js +8 -0
  208. package/out/_next/static/chunks/2s-0q8i8lr2p2.js +5 -0
  209. package/out/_next/static/chunks/2u64ldp2xfy8a.js +709 -0
  210. package/out/_next/static/chunks/2ud5j0_nqocf4.js +5 -0
  211. package/out/_next/static/chunks/2uo6puoi0y082.js +5 -0
  212. package/out/_next/static/chunks/2w3z7kqh6nbmw.js +23 -0
  213. package/out/_next/static/chunks/2y11qf38baxpu.js +14 -0
  214. package/out/_next/static/chunks/2y8uau15r3p-o.js +1 -0
  215. package/out/_next/static/chunks/2zb-xmda5rbn0.js +1 -0
  216. package/out/_next/static/chunks/2zsvxbghbsuz1.js +4 -0
  217. package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
  218. package/out/_next/static/chunks/3205eg3ochzp4.js +297 -0
  219. package/out/_next/static/chunks/32g5gxee1kcdc.js +28 -0
  220. package/out/_next/static/chunks/32whi9clpxjd0.js +5 -0
  221. package/out/_next/static/chunks/3368kg846t33d.js +57 -0
  222. package/out/_next/static/chunks/33oz-znvi5-m6.js +1 -0
  223. package/out/_next/static/chunks/345s7967cwd02.js +5 -0
  224. package/out/_next/static/chunks/34wf3lz_fft3k.js +2 -0
  225. package/out/_next/static/chunks/36x7q29atus_r.js +161 -0
  226. package/out/_next/static/chunks/37jjn1wguhj-a.js +5 -0
  227. package/out/_next/static/chunks/393--hagnnm97.js +39 -0
  228. package/out/_next/static/chunks/39moagn46hde9.js +5 -0
  229. package/out/_next/static/chunks/3_0q-dmk8few_.css +1 -0
  230. package/out/_next/static/chunks/3_adkt8r_brx4.js +165 -0
  231. package/out/_next/static/chunks/3b1kt-r_75q1a.js +43 -0
  232. package/out/_next/static/chunks/3e38rrs6dszgt.js +8 -0
  233. package/out/_next/static/chunks/3e7d8sb4289js.js +5 -0
  234. package/out/_next/static/chunks/3ek1bahoqa_ll.js +5 -0
  235. package/out/_next/static/chunks/3ek680kdzjdr7.js +1 -0
  236. package/out/_next/static/chunks/3eth7s2-06yuz.js +1 -0
  237. package/out/_next/static/chunks/3exy4ii5maq4x.js +54 -0
  238. package/out/_next/static/chunks/3fevbt4ysloo8.js +8 -0
  239. package/out/_next/static/chunks/3fu072xwkf88o.js +6 -0
  240. package/out/_next/static/chunks/3h6a3clw5m5ro.js +4 -0
  241. package/out/_next/static/chunks/3hmoy4f23y1s4.js +147 -0
  242. package/out/_next/static/chunks/3i4_3b36nutw7.js +33 -0
  243. package/out/_next/static/chunks/3jfe0uesrzz7a.js +1 -0
  244. package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
  245. package/out/_next/static/chunks/3k01tdsm6l20w.js +54 -0
  246. package/out/_next/static/chunks/3lr6hkso67d68.js +6 -0
  247. package/out/_next/static/chunks/3lzin6_25n8rs.js +30 -0
  248. package/out/_next/static/chunks/3nrrzhhoy8amt.js +4 -0
  249. package/out/_next/static/chunks/3o-h2po9z09dk.js +4 -0
  250. package/out/_next/static/chunks/3onharcadlou0.js +327 -0
  251. package/out/_next/static/chunks/3pls-kicv4xu9.js +175 -0
  252. package/out/_next/static/chunks/3t48n1yk76zoa.js +1 -0
  253. package/out/_next/static/chunks/3t_520l4ihlg3.js +54 -0
  254. package/out/_next/static/chunks/3tg_clsx6ux4o.js +1 -0
  255. package/out/_next/static/chunks/3ttz1zgoq3xmp.js +1 -0
  256. package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
  257. package/out/_next/static/chunks/3ujdligrod612.js +5 -0
  258. package/out/_next/static/chunks/3www97fxyknos.js +4 -0
  259. package/out/_next/static/chunks/3x_gia2m5w9_l.js +147 -0
  260. package/out/_next/static/chunks/3xs_undkbcqp7.js +367 -0
  261. package/out/_next/static/chunks/3yktizlgzr6vc.js +4 -0
  262. package/out/_next/static/chunks/3ytp87o76hzmx.js +100 -0
  263. package/out/_next/static/chunks/40kvu3lk3s9h2.js +276 -0
  264. package/out/_next/static/chunks/41c4n9whpyrjc.js +7 -0
  265. package/out/_next/static/chunks/42dygj7ul4k54.js +33 -0
  266. package/out/_next/static/chunks/449x6nw2kd7l6.js +119 -0
  267. package/out/_next/static/chunks/44b7_q6pkf1k9.js +5 -0
  268. package/out/_next/static/chunks/44qc0zn0tudui.js +2 -0
  269. package/out/_next/static/chunks/45c05mbjow5wz.js +4 -0
  270. package/out/_next/static/chunks/turbopack-077hmtqrhcoji.js +1 -0
  271. package/out/_offline/index.html +3 -2
  272. package/out/account/forgot-password/index.html +3 -2
  273. package/out/account/index.html +3 -2
  274. package/out/assortments/AssortmentDetailPage/index.html +3 -2
  275. package/out/assortments/index.html +3 -2
  276. package/out/assortments/new/index.html +3 -2
  277. package/out/copilot/index.html +3 -2
  278. package/out/country/CountryDetailPage/index.html +3 -2
  279. package/out/country/index.html +3 -2
  280. package/out/country/new/index.html +3 -2
  281. package/out/currency/CurrencyDetailPage/index.html +3 -2
  282. package/out/currency/index.html +3 -2
  283. package/out/currency/new/index.html +3 -2
  284. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
  285. package/out/delivery-provider/index.html +3 -2
  286. package/out/delivery-provider/new/index.html +3 -2
  287. package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
  288. package/out/enrollments/index.html +3 -2
  289. package/out/events/EventDetailPage/index.html +3 -2
  290. package/out/events/index.html +3 -2
  291. package/out/exports/index.html +3 -2
  292. package/out/ext/[[...slug]]/index.html +3 -2
  293. package/out/external/index.html +3 -2
  294. package/out/filters/FilterDetailPage/index.html +3 -2
  295. package/out/filters/index.html +3 -2
  296. package/out/filters/new/index.html +3 -2
  297. package/out/index.html +3 -2
  298. package/out/install/index.html +3 -2
  299. package/out/language/LanguageDetailPage/index.html +3 -2
  300. package/out/language/index.html +3 -2
  301. package/out/language/new/index.html +3 -2
  302. package/out/log-in/index.html +3 -2
  303. package/out/orders/OrderDetailPage/index.html +3 -2
  304. package/out/orders/index.html +3 -2
  305. package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
  306. package/out/payment-provider/index.html +3 -2
  307. package/out/payment-provider/new/index.html +3 -2
  308. package/out/products/ProductDetailPage/index.html +3 -2
  309. package/out/products/index.html +3 -2
  310. package/out/products/new/index.html +3 -2
  311. package/out/quotations/QuotationDetailPage/index.html +3 -2
  312. package/out/quotations/index.html +3 -2
  313. package/out/reset-password/index.html +3 -2
  314. package/out/sign-up/index.html +3 -2
  315. package/out/styleguide/index.html +3 -2
  316. package/out/tokens/TokenDetailPage/index.html +3 -2
  317. package/out/tokens/index.html +3 -2
  318. package/out/users/UserDetailPage/index.html +3 -2
  319. package/out/users/index.html +3 -2
  320. package/out/users/new/index.html +3 -2
  321. package/out/verify-email/index.html +3 -2
  322. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
  323. package/out/warehousing-provider/index.html +3 -2
  324. package/out/warehousing-provider/new/index.html +3 -2
  325. package/out/works/WorkDetailPage/index.html +3 -2
  326. package/out/works/WorkQueueListView/index.html +3 -2
  327. package/out/works/index.html +3 -2
  328. package/out/works/management/index.html +3 -2
  329. package/package.json +10 -10
  330. package/src/modules/accounts/hooks/logOut.ts +26 -0
  331. package/src/modules/accounts/hooks/useAddEmail.ts +34 -0
  332. package/src/modules/accounts/hooks/useAddWeb3Address.ts +38 -0
  333. package/src/modules/accounts/hooks/useAddWebAuthnCredentials.ts +48 -0
  334. package/src/modules/accounts/hooks/useBulkUserOperations.ts +91 -0
  335. package/src/modules/accounts/hooks/useChangePassword.ts +36 -0
  336. package/src/modules/accounts/hooks/useCreateUser.ts +74 -0
  337. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialCreationOptions.ts +31 -0
  338. package/src/modules/accounts/hooks/useCreateWebAuthnCredentialRequestOptions.ts +30 -0
  339. package/src/modules/accounts/hooks/useCurrentUser.ts +44 -0
  340. package/src/modules/accounts/hooks/useDeleteUser.ts +26 -0
  341. package/src/modules/accounts/hooks/useEnrollUser.ts +48 -0
  342. package/src/modules/accounts/hooks/useForgotPassword.ts +35 -0
  343. package/src/modules/accounts/hooks/useGenerateLoginCredentials.ts +80 -0
  344. package/src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts +102 -0
  345. package/src/modules/accounts/hooks/useLoginWithPassword.ts +65 -0
  346. package/src/modules/accounts/hooks/useLoginWithWebAuthn.ts +38 -0
  347. package/src/modules/accounts/hooks/useLogoutAllSessions.ts +27 -0
  348. package/src/modules/accounts/hooks/useRemoveBookmark.ts +36 -0
  349. package/src/modules/accounts/hooks/useRemoveEmail.ts +40 -0
  350. package/src/modules/accounts/hooks/useRemoveWeb3Address.ts +38 -0
  351. package/src/modules/accounts/hooks/useRemoveWebAuthCredentials.ts +36 -0
  352. package/src/modules/accounts/hooks/useResetPassword.ts +46 -0
  353. package/src/modules/accounts/hooks/useSendVerificationEmail.ts +35 -0
  354. package/src/modules/accounts/hooks/useSetPassword.ts +38 -0
  355. package/src/modules/accounts/hooks/useSetRoles.ts +40 -0
  356. package/src/modules/accounts/hooks/useSetUserTags.ts +48 -0
  357. package/src/modules/accounts/hooks/useSetUsername.ts +40 -0
  358. package/src/modules/accounts/hooks/useUpdateUserAvatar.ts +49 -0
  359. package/src/modules/accounts/hooks/useUpdateUserProfile.ts +40 -0
  360. package/src/modules/accounts/hooks/useUser.ts +201 -0
  361. package/src/modules/accounts/hooks/useUserBookmarks.ts +51 -0
  362. package/src/modules/accounts/hooks/useUserExport.ts +107 -0
  363. package/src/modules/accounts/hooks/useUserWebAuthnCredentials.ts +44 -0
  364. package/src/modules/accounts/hooks/useUsers.ts +82 -0
  365. package/src/modules/accounts/hooks/useUsersCount.ts +50 -0
  366. package/src/modules/accounts/hooks/useValidateEmailVerificationToken.ts +34 -0
  367. package/src/modules/accounts/hooks/useValidateResetPasswordToken.ts +35 -0
  368. package/src/modules/accounts/hooks/useVerifyEmail.ts +41 -0
  369. package/src/modules/accounts/hooks/useVerifyWeb3Address.ts +40 -0
  370. package/src/modules/accounts/index.ts +6 -0
  371. package/src/modules/assortment/fragments/AssortmentChildrenFragment.ts +16 -0
  372. package/src/modules/assortment/fragments/AssortmentFragment.ts +31 -0
  373. package/src/modules/assortment/fragments/AssortmentLinkFragment.ts +18 -0
  374. package/src/modules/assortment/fragments/AssortmentMediaFragment.ts +19 -0
  375. package/src/modules/assortment/fragments/AssortmentMediaTextsFragment.ts +12 -0
  376. package/src/modules/assortment/fragments/AssortmentTextsFragment.ts +14 -0
  377. package/src/modules/assortment/hooks/useAddAssortmentFilter.ts +46 -0
  378. package/src/modules/assortment/hooks/useAddAssortmentLink.ts +46 -0
  379. package/src/modules/assortment/hooks/useAddAssortmentMedia.ts +52 -0
  380. package/src/modules/assortment/hooks/useAddAssortmentProduct.ts +46 -0
  381. package/src/modules/assortment/hooks/useAssortment.ts +56 -0
  382. package/src/modules/assortment/hooks/useAssortmentChildren.ts +58 -0
  383. package/src/modules/assortment/hooks/useAssortmentExport.ts +60 -0
  384. package/src/modules/assortment/hooks/useAssortmentFilters.ts +51 -0
  385. package/src/modules/assortment/hooks/useAssortmentLinks.ts +54 -0
  386. package/src/modules/assortment/hooks/useAssortmentMedia.ts +57 -0
  387. package/src/modules/assortment/hooks/useAssortmentPaths.ts +39 -0
  388. package/src/modules/assortment/hooks/useAssortmentProducts.ts +62 -0
  389. package/src/modules/assortment/hooks/useAssortments.ts +103 -0
  390. package/src/modules/assortment/hooks/useAssortmentsCount.ts +51 -0
  391. package/src/modules/assortment/hooks/useBulkAssortmentOperations.ts +100 -0
  392. package/src/modules/assortment/hooks/useCreateAssortment.ts +55 -0
  393. package/src/modules/assortment/hooks/usePrepareAssortmentImport.ts +211 -0
  394. package/src/modules/assortment/hooks/useRemoveAssortment.ts +36 -0
  395. package/src/modules/assortment/hooks/useRemoveAssortmentFilter.ts +36 -0
  396. package/src/modules/assortment/hooks/useRemoveAssortmentLink.ts +36 -0
  397. package/src/modules/assortment/hooks/useRemoveAssortmentMedia.ts +36 -0
  398. package/src/modules/assortment/hooks/useRemoveAssortmentProduct.ts +36 -0
  399. package/src/modules/assortment/hooks/useReorderAssortmentFilters.ts +39 -0
  400. package/src/modules/assortment/hooks/useReorderAssortmentLinks.ts +37 -0
  401. package/src/modules/assortment/hooks/useReorderAssortmentMedia.ts +37 -0
  402. package/src/modules/assortment/hooks/useReorderAssortmentProducts.ts +39 -0
  403. package/src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts +41 -0
  404. package/src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts +40 -0
  405. package/src/modules/assortment/hooks/useUpdateAssortment.ts +43 -0
  406. package/src/modules/assortment/hooks/useUpdateAssortmentMediaTexts.ts +45 -0
  407. package/src/modules/assortment/hooks/useUpdateAssortmentTexts.ts +42 -0
  408. package/src/modules/assortment/index.ts +2 -0
  409. package/src/modules/common/fragments/AddressFragment.ts +16 -0
  410. package/src/modules/common/hooks/useApp.ts +11 -0
  411. package/src/modules/common/hooks/useBulkActionConfirmation.tsx +68 -0
  412. package/src/modules/common/hooks/useBulkResultHandler.ts +83 -0
  413. package/src/modules/common/hooks/useBulkSelection.ts +86 -0
  414. package/src/modules/common/hooks/useCSVExport.ts +94 -0
  415. package/src/modules/common/hooks/useCSVImport.ts +69 -0
  416. package/src/modules/common/hooks/useChatEndpointChecker.ts +25 -0
  417. package/src/modules/common/hooks/useConfirmMediaUpload.ts +45 -0
  418. package/src/modules/common/hooks/useDashboardMetrics.ts +42 -0
  419. package/src/modules/common/hooks/useLocalStorage.ts +34 -0
  420. package/src/modules/common/hooks/useOrderAnalytics.ts +139 -0
  421. package/src/modules/common/hooks/useOrderItemsAnalytics.ts +107 -0
  422. package/src/modules/common/hooks/useOutsideClick.ts +29 -0
  423. package/src/modules/common/hooks/usePortal.ts +54 -0
  424. package/src/modules/common/hooks/useScrollRestoration.ts +123 -0
  425. package/src/modules/common/hooks/useShopConfiguration.ts +83 -0
  426. package/src/modules/common/hooks/useShopInfo.ts +65 -0
  427. package/src/modules/common/hooks/useStatusTypes.ts +29 -0
  428. package/src/modules/common/hooks/useSystemRoles.ts +29 -0
  429. package/src/modules/common/hooks/useTheme.ts +14 -0
  430. package/src/modules/copilot/hooks/useAvailableTools.ts +92 -0
  431. package/src/modules/copilot/hooks/useChatManager.ts +169 -0
  432. package/src/modules/copilot/hooks/useToolTextNormalizer.ts +84 -0
  433. package/src/modules/country/fragments/CountryFragment.ts +17 -0
  434. package/src/modules/country/hooks/useCountries.ts +66 -0
  435. package/src/modules/country/hooks/useCountry.ts +34 -0
  436. package/src/modules/country/hooks/useCreateCountry.ts +41 -0
  437. package/src/modules/country/hooks/useRemoveCountry.ts +38 -0
  438. package/src/modules/country/hooks/useUpdateCountry.ts +42 -0
  439. package/src/modules/currency/fragments/CurrencyFragment.ts +13 -0
  440. package/src/modules/currency/hooks/useCreateCurrency.ts +48 -0
  441. package/src/modules/currency/hooks/useCurrencies.ts +68 -0
  442. package/src/modules/currency/hooks/useCurrency.ts +34 -0
  443. package/src/modules/currency/hooks/useRemoveCurrency.ts +38 -0
  444. package/src/modules/currency/hooks/useUpdateCurrency.ts +47 -0
  445. package/src/modules/delivery-provider/hooks/useCreateDeliveryProvider.ts +67 -0
  446. package/src/modules/delivery-provider/hooks/useDeliveryInterfacesByType.ts +38 -0
  447. package/src/modules/delivery-provider/hooks/useDeliveryProvider.ts +60 -0
  448. package/src/modules/delivery-provider/hooks/useDeliveryProviderTypes.ts +34 -0
  449. package/src/modules/delivery-provider/hooks/useDeliveryProviders.ts +59 -0
  450. package/src/modules/delivery-provider/hooks/useRemoveDeliveryProvider.ts +38 -0
  451. package/src/modules/delivery-provider/hooks/useUpdateDeliveryProvider.ts +68 -0
  452. package/src/modules/enrollment/fragments/EnrollmentDetailFragment.ts +110 -0
  453. package/src/modules/enrollment/fragments/EnrollmentFragment.ts +66 -0
  454. package/src/modules/enrollment/hooks/useActivateEnrollment.ts +36 -0
  455. package/src/modules/enrollment/hooks/useEnrollment.ts +39 -0
  456. package/src/modules/enrollment/hooks/useEnrollments.ts +70 -0
  457. package/src/modules/enrollment/hooks/useSendEnrollmentEmail.ts +35 -0
  458. package/src/modules/enrollment/hooks/useSuspendEnrollment.ts +29 -0
  459. package/src/modules/enrollment/hooks/useTerminateEnrollment.ts +36 -0
  460. package/src/modules/enrollment/hooks/useUpdateEnrollmentPlan.ts +45 -0
  461. package/src/modules/enrollment/hooks/useUserEnrollments.ts +61 -0
  462. package/src/modules/enrollment/index.ts +2 -0
  463. package/src/modules/event/fragments/EventFragment.ts +12 -0
  464. package/src/modules/event/hooks/useEvent.ts +32 -0
  465. package/src/modules/event/hooks/useEventTypes.ts +29 -0
  466. package/src/modules/event/hooks/useEvents.ts +77 -0
  467. package/src/modules/filter/fragments/FilterFragment.ts +24 -0
  468. package/src/modules/filter/fragments/FilterOptionFragment.ts +16 -0
  469. package/src/modules/filter/fragments/FilterTextsFragment.ts +12 -0
  470. package/src/modules/filter/hooks/useBulkFilterOperations.ts +59 -0
  471. package/src/modules/filter/hooks/useCreateFilter.ts +44 -0
  472. package/src/modules/filter/hooks/useCreateFilterOption.ts +42 -0
  473. package/src/modules/filter/hooks/useFilter.ts +44 -0
  474. package/src/modules/filter/hooks/useFilterExport.ts +35 -0
  475. package/src/modules/filter/hooks/useFilterOptions.ts +40 -0
  476. package/src/modules/filter/hooks/useFilterTypes.ts +34 -0
  477. package/src/modules/filter/hooks/useFilters.ts +78 -0
  478. package/src/modules/filter/hooks/useFiltersCount.ts +37 -0
  479. package/src/modules/filter/hooks/usePrepareFilterImport.ts +142 -0
  480. package/src/modules/filter/hooks/useRemoveFilter.ts +34 -0
  481. package/src/modules/filter/hooks/useRemoveFilterOption.ts +40 -0
  482. package/src/modules/filter/hooks/useTranslatedFilterTexts.ts +40 -0
  483. package/src/modules/filter/hooks/useUpdateFilter.ts +38 -0
  484. package/src/modules/filter/hooks/useUpdateFilterTexts.ts +48 -0
  485. package/src/modules/filter/index.ts +2 -0
  486. package/src/modules/forms/hooks/useField.ts +151 -0
  487. package/src/modules/forms/hooks/useForm.ts +210 -0
  488. package/src/modules/forms/hooks/useFormContext.ts +7 -0
  489. package/src/modules/language/fragments/LanguageFragment.ts +13 -0
  490. package/src/modules/language/hooks/useCreateLanguage.ts +40 -0
  491. package/src/modules/language/hooks/useLanguage.ts +34 -0
  492. package/src/modules/language/hooks/useLanguages.ts +64 -0
  493. package/src/modules/language/hooks/useRemoveLanguage.ts +38 -0
  494. package/src/modules/language/hooks/useUpdateLanguage.ts +42 -0
  495. package/src/modules/modal/hooks/useModal.ts +8 -0
  496. package/src/modules/order/fragments/OrderDetailFragment.ts +255 -0
  497. package/src/modules/order/fragments/OrderFragment.ts +42 -0
  498. package/src/modules/order/hooks/useConfirmOrder.ts +36 -0
  499. package/src/modules/order/hooks/useDeliverOrder.ts +36 -0
  500. package/src/modules/order/hooks/useOrder.ts +35 -0
  501. package/src/modules/order/hooks/useOrders.ts +105 -0
  502. package/src/modules/order/hooks/usePayOrder.ts +36 -0
  503. package/src/modules/order/hooks/useRejectOrder.ts +36 -0
  504. package/src/modules/order/hooks/useRemoveOrder.ts +36 -0
  505. package/src/modules/order/hooks/useUserCart.ts +71 -0
  506. package/src/modules/order/hooks/useUserOrders.ts +65 -0
  507. package/src/modules/payment-providers/fragments/PaymentProviderFragment.ts +21 -0
  508. package/src/modules/payment-providers/hooks/useCreatePaymentProvider.ts +43 -0
  509. package/src/modules/payment-providers/hooks/usePaymentInterfacesByType.ts +38 -0
  510. package/src/modules/payment-providers/hooks/usePaymentProvider.ts +39 -0
  511. package/src/modules/payment-providers/hooks/usePaymentProviderTypes.ts +34 -0
  512. package/src/modules/payment-providers/hooks/usePaymentProviders.ts +42 -0
  513. package/src/modules/payment-providers/hooks/useRemovePaymentProvider.ts +38 -0
  514. package/src/modules/payment-providers/hooks/useUpdatePaymentProvider.ts +47 -0
  515. package/src/modules/product/fragments/ProductAssignmentFragment.ts +39 -0
  516. package/src/modules/product/fragments/ProductBriefFragment.ts +57 -0
  517. package/src/modules/product/fragments/ProductCatalogPriceFragment.ts +23 -0
  518. package/src/modules/product/fragments/ProductDetailFragment.ts +51 -0
  519. package/src/modules/product/fragments/ProductDimensionFragment.ts +12 -0
  520. package/src/modules/product/fragments/ProductMediaFragment.ts +24 -0
  521. package/src/modules/product/fragments/ProductMediaTextsFragment.ts +12 -0
  522. package/src/modules/product/fragments/ProductPlanConfigurationFragment.ts +14 -0
  523. package/src/modules/product/fragments/ProductTextsFragment.ts +17 -0
  524. package/src/modules/product/fragments/ProductVariationFragment.ts +27 -0
  525. package/src/modules/product/fragments/TokenFragment.ts +24 -0
  526. package/src/modules/product/hooks/useAddProductAssignment.ts +46 -0
  527. package/src/modules/product/hooks/useAddProductMedia.ts +47 -0
  528. package/src/modules/product/hooks/useBulkProductOperations.ts +123 -0
  529. package/src/modules/product/hooks/useCreateProduct.ts +72 -0
  530. package/src/modules/product/hooks/useCreateProductBundleItem.ts +40 -0
  531. package/src/modules/product/hooks/useCreateProductVariation.ts +46 -0
  532. package/src/modules/product/hooks/useCreateProductVariationOption.ts +46 -0
  533. package/src/modules/product/hooks/useExportToken.ts +51 -0
  534. package/src/modules/product/hooks/useMenuPosition.ts +34 -0
  535. package/src/modules/product/hooks/usePrepareProductImport.ts +350 -0
  536. package/src/modules/product/hooks/useProduct.ts +93 -0
  537. package/src/modules/product/hooks/useProductAssignments.ts +71 -0
  538. package/src/modules/product/hooks/useProductBundleItems.ts +61 -0
  539. package/src/modules/product/hooks/useProductCatalogPrices.ts +39 -0
  540. package/src/modules/product/hooks/useProductExport.ts +90 -0
  541. package/src/modules/product/hooks/useProductFulfillmentSimulation.ts +137 -0
  542. package/src/modules/product/hooks/useProductMedia.ts +44 -0
  543. package/src/modules/product/hooks/useProductPlan.ts +50 -0
  544. package/src/modules/product/hooks/useProductPlanConfigurationOptions.ts +42 -0
  545. package/src/modules/product/hooks/useProductReviews.ts +62 -0
  546. package/src/modules/product/hooks/useProductSupply.ts +52 -0
  547. package/src/modules/product/hooks/useProductTokenization.ts +51 -0
  548. package/src/modules/product/hooks/useProductVariationTypes.ts +34 -0
  549. package/src/modules/product/hooks/useProductVariations.ts +50 -0
  550. package/src/modules/product/hooks/useProductWarehousing.ts +45 -0
  551. package/src/modules/product/hooks/useProducts.ts +111 -0
  552. package/src/modules/product/hooks/useProductsCount.ts +50 -0
  553. package/src/modules/product/hooks/usePublishProduct.ts +39 -0
  554. package/src/modules/product/hooks/useReOrderProductMedia.ts +36 -0
  555. package/src/modules/product/hooks/useRemoveBundleItem.ts +37 -0
  556. package/src/modules/product/hooks/useRemoveProduct.ts +36 -0
  557. package/src/modules/product/hooks/useRemoveProductAssignment.ts +40 -0
  558. package/src/modules/product/hooks/useRemoveProductMedia.ts +36 -0
  559. package/src/modules/product/hooks/useRemoveProductVariation.ts +36 -0
  560. package/src/modules/product/hooks/useRemoveProductVariationOption.ts +43 -0
  561. package/src/modules/product/hooks/useScaffoldBundleItem.ts +38 -0
  562. package/src/modules/product/hooks/useScaffoldVariationProduct.ts +50 -0
  563. package/src/modules/product/hooks/useSmartContractStandards.ts +34 -0
  564. package/src/modules/product/hooks/useTranslatedProductMediaTexts.ts +39 -0
  565. package/src/modules/product/hooks/useTranslatedProductTexts.ts +42 -0
  566. package/src/modules/product/hooks/useUnPublishProduct.ts +39 -0
  567. package/src/modules/product/hooks/useUpdateProduct.ts +46 -0
  568. package/src/modules/product/hooks/useUpdateProductCommerce.ts +61 -0
  569. package/src/modules/product/hooks/useUpdateProductMediaTexts.ts +42 -0
  570. package/src/modules/product/hooks/useUpdateProductPlan.ts +54 -0
  571. package/src/modules/product/hooks/useUpdateProductSupply.ts +60 -0
  572. package/src/modules/product/hooks/useUpdateProductTexts.ts +39 -0
  573. package/src/modules/product/hooks/useUpdateProductTokenization.ts +51 -0
  574. package/src/modules/product/hooks/useUpdateProductVariationTexts.ts +50 -0
  575. package/src/modules/product/hooks/useUpdateProductWarehousing.ts +50 -0
  576. package/src/modules/product/hooks/useUserTokens.ts +48 -0
  577. package/src/modules/product/index.ts +4 -0
  578. package/src/modules/product-review/fragments/ProductReviewDetailFragment.ts +55 -0
  579. package/src/modules/product-review/hooks/useAddProductReviewVote.ts +55 -0
  580. package/src/modules/product-review/hooks/useCreateProductReview.ts +47 -0
  581. package/src/modules/product-review/hooks/useProductReviewsByProductId.ts +70 -0
  582. package/src/modules/product-review/hooks/useRemoveProductReview.ts +38 -0
  583. package/src/modules/product-review/hooks/useRemoveProductReviewVote.ts +43 -0
  584. package/src/modules/product-review/hooks/useUserProductReviews.ts +92 -0
  585. package/src/modules/quotation/fragments/QuotationDetailFragment.ts +70 -0
  586. package/src/modules/quotation/fragments/QuotationFragment.ts +54 -0
  587. package/src/modules/quotation/hooks/useMakeQuotationProposal.ts +41 -0
  588. package/src/modules/quotation/hooks/useQuotation.ts +37 -0
  589. package/src/modules/quotation/hooks/useQuotations.ts +61 -0
  590. package/src/modules/quotation/hooks/useRejectQuotation.ts +41 -0
  591. package/src/modules/quotation/hooks/useUserQuotations.ts +60 -0
  592. package/src/modules/quotation/hooks/useVerifyQuotation.ts +41 -0
  593. package/src/modules/search/fragments/GlobalSearchFragment.ts +20 -0
  594. package/src/modules/search/hooks/useGlobalSearch.ts +168 -0
  595. package/src/modules/token/hooks/useInvalidateTicket.ts +27 -0
  596. package/src/modules/token/hooks/useToken.ts +64 -0
  597. package/src/modules/token/hooks/useTokens.ts +72 -0
  598. package/src/modules/warehousing-providers/fragments/WarehousingProviderFragment.ts +21 -0
  599. package/src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts +46 -0
  600. package/src/modules/warehousing-providers/hooks/useRemoveWarehousingProvider.ts +38 -0
  601. package/src/modules/warehousing-providers/hooks/useUpdateWarehousingProvider.ts +47 -0
  602. package/src/modules/warehousing-providers/hooks/useWarehousingInterfacesByType.ts +38 -0
  603. package/src/modules/warehousing-providers/hooks/useWarehousingProvider.ts +39 -0
  604. package/src/modules/warehousing-providers/hooks/useWarehousingProviderTypes.ts +34 -0
  605. package/src/modules/warehousing-providers/hooks/useWarehousingProviders.ts +41 -0
  606. package/src/modules/work/fragments/WorkFragment.ts +24 -0
  607. package/src/modules/work/hooks/useActiveWorkTypes.ts +29 -0
  608. package/src/modules/work/hooks/useAddWork.ts +62 -0
  609. package/src/modules/work/hooks/useAllocateWork.ts +40 -0
  610. package/src/modules/work/hooks/useRecentExports.ts +129 -0
  611. package/src/modules/work/hooks/useRegisteredWorkTypes.ts +27 -0
  612. package/src/modules/work/hooks/useRemoveWork.ts +36 -0
  613. package/src/modules/work/hooks/useWork.ts +42 -0
  614. package/src/modules/work/hooks/useWorkQueue.ts +98 -0
  615. package/src/modules/work/index.ts +1 -0
  616. package/src/sdk/README.md +12 -3
  617. package/src/sdk/plugin-navigation.test.mjs +59 -0
  618. package/out/_next/static/chunks/0-2b37ubdpy0o.js +0 -7
  619. package/out/_next/static/chunks/012cafv-4m7rj.js +0 -807
  620. package/out/_next/static/chunks/02dnhll1bce87.js +0 -46
  621. package/out/_next/static/chunks/02ptvddfjlsxb.js +0 -1
  622. package/out/_next/static/chunks/03ebenjfvoj8n.js +0 -1
  623. package/out/_next/static/chunks/03r347235l6c4.js +0 -7
  624. package/out/_next/static/chunks/05au-xyt__0f2.js +0 -3
  625. package/out/_next/static/chunks/05nn5xr3ufcsh.js +0 -1
  626. package/out/_next/static/chunks/05o_q7jg8wucs.js +0 -44
  627. package/out/_next/static/chunks/05scroolqe8fu.js +0 -234
  628. package/out/_next/static/chunks/072qxdqjtqvn9.js +0 -11
  629. package/out/_next/static/chunks/0752goe9_9g2s.js +0 -110
  630. package/out/_next/static/chunks/07e-sk6v9u-qh.js +0 -807
  631. package/out/_next/static/chunks/07evy5u8ldd1y.js +0 -50
  632. package/out/_next/static/chunks/083ylavob4a8d.js +0 -3
  633. package/out/_next/static/chunks/08jrw03_vxllg.js +0 -54
  634. package/out/_next/static/chunks/08pag0k09j2b3.js +0 -807
  635. package/out/_next/static/chunks/09n6h-_l73rez.js +0 -13
  636. package/out/_next/static/chunks/0_b5faks_mrvi.js +0 -14
  637. package/out/_next/static/chunks/0a_bg-ub3r2eo.js +0 -60
  638. package/out/_next/static/chunks/0aqxsjssb0dh9.js +0 -21
  639. package/out/_next/static/chunks/0aw4jxe6zcc0c.js +0 -32
  640. package/out/_next/static/chunks/0b0hrx3sbbs70.js +0 -807
  641. package/out/_next/static/chunks/0bg4_y1qh5y5h.js +0 -47
  642. package/out/_next/static/chunks/0bgz44wi1lidl.js +0 -13
  643. package/out/_next/static/chunks/0dcpvidzyamvk.js +0 -100
  644. package/out/_next/static/chunks/0dnh0kr83_tj0.js +0 -1
  645. package/out/_next/static/chunks/0dxp17sbyy_dr.js +0 -22
  646. package/out/_next/static/chunks/0dxu94yin5gdn.js +0 -35
  647. package/out/_next/static/chunks/0e2c-jlh2q_eq.js +0 -74
  648. package/out/_next/static/chunks/0el7gr-83bm5j.js +0 -3
  649. package/out/_next/static/chunks/0f_ofo__wyqsp.js +0 -22
  650. package/out/_next/static/chunks/0gx9t6j5kx_ho.js +0 -9
  651. package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
  652. package/out/_next/static/chunks/0i9ymn9xxs0nx.js +0 -18
  653. package/out/_next/static/chunks/0iy11ws57hzzr.js +0 -99
  654. package/out/_next/static/chunks/0j8_uikfyrn1f.js +0 -1
  655. package/out/_next/static/chunks/0jeddko6bac8h.js +0 -1
  656. package/out/_next/static/chunks/0jzx7vxh13cpi.js +0 -15
  657. package/out/_next/static/chunks/0kody3217__os.js +0 -16
  658. package/out/_next/static/chunks/0kwo-m1-mo-s-.js +0 -31
  659. package/out/_next/static/chunks/0lp_pnq1t06sl.js +0 -104
  660. package/out/_next/static/chunks/0m6jydfuy_4o3.js +0 -1
  661. package/out/_next/static/chunks/0mez27zlo26ni.js +0 -103
  662. package/out/_next/static/chunks/0nj8vn3509oe-.js +0 -9
  663. package/out/_next/static/chunks/0np9pcbt6dmxe.js +0 -25
  664. package/out/_next/static/chunks/0o7k5vanq57ch.js +0 -807
  665. package/out/_next/static/chunks/0r5wwinf72z4g.js +0 -1
  666. package/out/_next/static/chunks/0rqjr_lmrk4pz.js +0 -5
  667. package/out/_next/static/chunks/0swe0fkt4vyzn.js +0 -136
  668. package/out/_next/static/chunks/0u4st428hgv1v.js +0 -27
  669. package/out/_next/static/chunks/0u7--d8_-qyne.js +0 -83
  670. package/out/_next/static/chunks/0ubzi2s1spm4e.js +0 -342
  671. package/out/_next/static/chunks/0uecw_5mn0zvr.js +0 -110
  672. package/out/_next/static/chunks/0uw9cbq0ivaz0.js +0 -1
  673. package/out/_next/static/chunks/0uxwblyj0htyb.js +0 -1
  674. package/out/_next/static/chunks/0uyhr7vs9ltp0.js +0 -141
  675. package/out/_next/static/chunks/0vr19nswhvt2-.js +0 -14
  676. package/out/_next/static/chunks/0vyvc19p87f_r.js +0 -234
  677. package/out/_next/static/chunks/0wznlnzc2xsbz.js +0 -16
  678. package/out/_next/static/chunks/0ycu-q8fcc8ta.js +0 -1
  679. package/out/_next/static/chunks/0ytserk6fuf71.js +0 -175
  680. package/out/_next/static/chunks/0zoum0jzrtu0s.js +0 -145
  681. package/out/_next/static/chunks/1-6s62fsl_z_7.js +0 -126
  682. package/out/_next/static/chunks/10b6et0qn-pa0.js +0 -59
  683. package/out/_next/static/chunks/13m7st62a61df.js +0 -25
  684. package/out/_next/static/chunks/13u_a5l2xngm4.js +0 -1
  685. package/out/_next/static/chunks/15vz50rks0o2-.js +0 -238
  686. package/out/_next/static/chunks/1647yxi4ymq0z.js +0 -14
  687. package/out/_next/static/chunks/16hd7xvkocqxs.js +0 -807
  688. package/out/_next/static/chunks/16t18hhd4ax36.js +0 -2
  689. package/out/_next/static/chunks/17wle25pg9jkp.js +0 -11
  690. package/out/_next/static/chunks/18juy_eauk94g.js +0 -58
  691. package/out/_next/static/chunks/19eflki8bmivb.js +0 -81
  692. package/out/_next/static/chunks/19eu5d-wm2hfr.js +0 -23
  693. package/out/_next/static/chunks/19izcjxrrapb3.js +0 -9
  694. package/out/_next/static/chunks/1_jbj-c1d2606.js +0 -21
  695. package/out/_next/static/chunks/1_pwqdjxb6oou.js +0 -226
  696. package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
  697. package/out/_next/static/chunks/1bftmuhck_-7b.js +0 -1
  698. package/out/_next/static/chunks/1bww_2og01jxh.js +0 -807
  699. package/out/_next/static/chunks/1c0cemuv_tf6i.js +0 -16
  700. package/out/_next/static/chunks/1c4a2qxtb3r4_.js +0 -16
  701. package/out/_next/static/chunks/1cjd95y23a9qx.js +0 -1
  702. package/out/_next/static/chunks/1cy-2yb5j5_9b.js +0 -157
  703. package/out/_next/static/chunks/1dkv555kaccbl.js +0 -13
  704. package/out/_next/static/chunks/1dt9_bzfioi8a.js +0 -24
  705. package/out/_next/static/chunks/1fd7ewfb7bi_g.js +0 -234
  706. package/out/_next/static/chunks/1gncrqljnmqjn.js +0 -43
  707. package/out/_next/static/chunks/1gt65pz91hyuz.js +0 -1
  708. package/out/_next/static/chunks/1iewktf-9h_n8.js +0 -15
  709. package/out/_next/static/chunks/1l7p7exnzd0c2.js +0 -12
  710. package/out/_next/static/chunks/1nqu3ymv6lgev.js +0 -3
  711. package/out/_next/static/chunks/1o_8g-kpuqi9h.js +0 -1
  712. package/out/_next/static/chunks/1oent0-9-0rgb.js +0 -20
  713. package/out/_next/static/chunks/1og09fg689_nc.js +0 -180
  714. package/out/_next/static/chunks/1pj279k5ntty3.js +0 -13
  715. package/out/_next/static/chunks/1q_sewe1wbxsk.js +0 -54
  716. package/out/_next/static/chunks/1qvs4gd4rbhb2.js +0 -15
  717. package/out/_next/static/chunks/1rtv3c_klo0jk.js +0 -1
  718. package/out/_next/static/chunks/1sdqr2_r6o46f.js +0 -16
  719. package/out/_next/static/chunks/1vti949e9wuhz.js +0 -15
  720. package/out/_next/static/chunks/1x-yucftdml28.js +0 -1
  721. package/out/_next/static/chunks/1xbofs3ibkjvj.js +0 -1
  722. package/out/_next/static/chunks/1ylgjha1c0ua_.js +0 -124
  723. package/out/_next/static/chunks/1yp98n-n4gxwy.js +0 -15
  724. package/out/_next/static/chunks/1zcm_9oew7412.js +0 -14
  725. package/out/_next/static/chunks/2-e0d1qpp7rk9.js +0 -14
  726. package/out/_next/static/chunks/20ubrczdsehfm.js +0 -879
  727. package/out/_next/static/chunks/23m--gc-gjenm.js +0 -3
  728. package/out/_next/static/chunks/24-pobk4qjjvp.js +0 -3
  729. package/out/_next/static/chunks/24jptulqn322i.js +0 -15
  730. package/out/_next/static/chunks/24jyi7e2pq4gy.js +0 -15
  731. package/out/_next/static/chunks/252jebodi67kg.js +0 -1
  732. package/out/_next/static/chunks/26eux546aoag5.js +0 -58
  733. package/out/_next/static/chunks/270ua9t85a7ev.js +0 -5
  734. package/out/_next/static/chunks/28r_j2kquxrjn.js +0 -807
  735. package/out/_next/static/chunks/2_ccruvok3u8j.js +0 -16
  736. package/out/_next/static/chunks/2_ojfjgg8do9t.js +0 -1
  737. package/out/_next/static/chunks/2aj5aq_c0b4r_.js +0 -13
  738. package/out/_next/static/chunks/2ba3n9zx9e9q9.js +0 -807
  739. package/out/_next/static/chunks/2d-hxb31pgpn7.js +0 -13
  740. package/out/_next/static/chunks/2df2cqwidgpan.js +0 -15
  741. package/out/_next/static/chunks/2djnsowjy3p8y.js +0 -1
  742. package/out/_next/static/chunks/2dyj8q92_k5el.js +0 -708
  743. package/out/_next/static/chunks/2e0k9dt1emjfm.js +0 -1
  744. package/out/_next/static/chunks/2e3gba1n-yyuj.js +0 -15
  745. package/out/_next/static/chunks/2e_p1vqr0g_-_.js +0 -7
  746. package/out/_next/static/chunks/2e_te6sbs_5uw.js +0 -1
  747. package/out/_next/static/chunks/2f16josk9b_cl.js +0 -8
  748. package/out/_next/static/chunks/2fo2ki1egxbah.js +0 -39
  749. package/out/_next/static/chunks/2g8gzs8wpsofk.js +0 -2
  750. package/out/_next/static/chunks/2gh355-kh19zx.js +0 -13
  751. package/out/_next/static/chunks/2gr4t5xe0atdr.js +0 -15
  752. package/out/_next/static/chunks/2ib6fee-nqe-z.js +0 -23
  753. package/out/_next/static/chunks/2kjux30i3gg-c.js +0 -5
  754. package/out/_next/static/chunks/2ljoq6sr-g2da.js +0 -1
  755. package/out/_next/static/chunks/2ll_mqee86g8c.js +0 -1
  756. package/out/_next/static/chunks/2lx_iig9xewfj.js +0 -52
  757. package/out/_next/static/chunks/2lylr4-3tu1_t.js +0 -15
  758. package/out/_next/static/chunks/2n1v8ph2nt43w.js +0 -17
  759. package/out/_next/static/chunks/2o9hdz0gk1-s7.js +0 -165
  760. package/out/_next/static/chunks/2oadogfqpak51.js +0 -1
  761. package/out/_next/static/chunks/2oogwntgnu9rf.js +0 -17
  762. package/out/_next/static/chunks/2p4e3kh8sa8iq.js +0 -13
  763. package/out/_next/static/chunks/2q-mpau-4gsvd.js +0 -1
  764. package/out/_next/static/chunks/2rddaar-ns45d.js +0 -116
  765. package/out/_next/static/chunks/2s3qhuh87mu_w.js +0 -126
  766. package/out/_next/static/chunks/2s6u8274_jzk2.js +0 -105
  767. package/out/_next/static/chunks/2skfzjx2g9hkk.js +0 -134
  768. package/out/_next/static/chunks/2u6jwsqz0uhes.js +0 -24
  769. package/out/_next/static/chunks/2v4k4vpb2id7m.js +0 -44
  770. package/out/_next/static/chunks/2xctb084h1lyg.js +0 -329
  771. package/out/_next/static/chunks/2xgpwzpd6-tdb.js +0 -234
  772. package/out/_next/static/chunks/3-soz24u9483h.js +0 -15
  773. package/out/_next/static/chunks/30_ns6urg1dkn.js +0 -41
  774. package/out/_next/static/chunks/30nxkqu5mcga3.js +0 -1
  775. package/out/_next/static/chunks/313i1x81q2xj1.js +0 -1
  776. package/out/_next/static/chunks/31qwglme02a_r.js +0 -807
  777. package/out/_next/static/chunks/31sk60zzj3bc5.js +0 -17
  778. package/out/_next/static/chunks/325a7n__tfxy_.js +0 -61
  779. package/out/_next/static/chunks/33emlry70k-lv.js +0 -2
  780. package/out/_next/static/chunks/33v8la4hkia7j.js +0 -1
  781. package/out/_next/static/chunks/34ar-34flu6bu.js +0 -43
  782. package/out/_next/static/chunks/34z48lfdm9u0l.js +0 -9
  783. package/out/_next/static/chunks/351jscvbk_wb9.js +0 -13
  784. package/out/_next/static/chunks/357odtev0t245.js +0 -59
  785. package/out/_next/static/chunks/360g4b1clnt45.js +0 -142
  786. package/out/_next/static/chunks/360uyru28azf6.js +0 -20
  787. package/out/_next/static/chunks/366apf6d0xh2u.js +0 -30
  788. package/out/_next/static/chunks/36_zbuqpk5cpj.js +0 -14
  789. package/out/_next/static/chunks/36aqs7u7s-lb1.js +0 -119
  790. package/out/_next/static/chunks/36beon3q8orx2.js +0 -1
  791. package/out/_next/static/chunks/37703j9_zf5_h.js +0 -13
  792. package/out/_next/static/chunks/37rwzuocwsv_k.js +0 -16
  793. package/out/_next/static/chunks/37w6b3h04uc4c.js +0 -19
  794. package/out/_next/static/chunks/38ffn8gazqz8_.js +0 -3
  795. package/out/_next/static/chunks/38xse6_r51yqp.js +0 -234
  796. package/out/_next/static/chunks/39s8xbnm9f08v.js +0 -14
  797. package/out/_next/static/chunks/39x-p8r_sl0ng.js +0 -15
  798. package/out/_next/static/chunks/39zisxvmik0t_.js +0 -34
  799. package/out/_next/static/chunks/3_97tge0xvvon.js +0 -11
  800. package/out/_next/static/chunks/3aw-ri7876ngd.js +0 -39
  801. package/out/_next/static/chunks/3bv7gi3o6-41h.js +0 -11
  802. package/out/_next/static/chunks/3cdfuacs4_0d-.js +0 -1
  803. package/out/_next/static/chunks/3cxpx38ycu7u2.js +0 -9
  804. package/out/_next/static/chunks/3d1ofcqmlbg-5.js +0 -52
  805. package/out/_next/static/chunks/3e3i3qqkv_my7.js +0 -15
  806. package/out/_next/static/chunks/3ex71q3pp_ekc.js +0 -247
  807. package/out/_next/static/chunks/3g1lpkudwo8kg.js +0 -1
  808. package/out/_next/static/chunks/3h68t22714to5.js +0 -3
  809. package/out/_next/static/chunks/3jpzhwqgdnobq.js +0 -103
  810. package/out/_next/static/chunks/3jxuqt_2-j_uc.js +0 -18
  811. package/out/_next/static/chunks/3kqqv33l7ssn0.js +0 -16
  812. package/out/_next/static/chunks/3l-9xxd1i1sya.js +0 -1
  813. package/out/_next/static/chunks/3mancxzz8c7hl.js +0 -51
  814. package/out/_next/static/chunks/3mq2s9rfy78je.js +0 -27
  815. package/out/_next/static/chunks/3om1fkw-lrmng.js +0 -1
  816. package/out/_next/static/chunks/3oynij37wfjb2.js +0 -119
  817. package/out/_next/static/chunks/3pbyo5kkko3wh.js +0 -1
  818. package/out/_next/static/chunks/3pjja1obml896.js +0 -15
  819. package/out/_next/static/chunks/3qaiz-jwi7q2x.js +0 -1
  820. package/out/_next/static/chunks/3rh3nigvg06yu.js +0 -337
  821. package/out/_next/static/chunks/3rppjab6j3_k9.js +0 -1
  822. package/out/_next/static/chunks/3t_3vlnk1ntkb.js +0 -95
  823. package/out/_next/static/chunks/3tpo2ho54vtth.js +0 -807
  824. package/out/_next/static/chunks/3tqspv0ggt8j0.js +0 -17
  825. package/out/_next/static/chunks/3um54w4ca27n_.js +0 -17
  826. package/out/_next/static/chunks/3vet2a9q9rf2c.js +0 -61
  827. package/out/_next/static/chunks/3vjgbl76cgrmt.js +0 -1
  828. package/out/_next/static/chunks/3vz3gqmojh7sx.js +0 -4
  829. package/out/_next/static/chunks/3w2e5xa061qou.js +0 -9
  830. package/out/_next/static/chunks/3w9xrlkiztuwi.js +0 -23
  831. package/out/_next/static/chunks/3x4xfy_av3o0d.js +0 -1
  832. package/out/_next/static/chunks/3x9k13s5fam4j.js +0 -22
  833. package/out/_next/static/chunks/3xmtbqm0gddn8.js +0 -3
  834. package/out/_next/static/chunks/3z5uyt9mc9_fd.js +0 -2
  835. package/out/_next/static/chunks/3zlwp96x3hoy9.js +0 -16
  836. package/out/_next/static/chunks/3zr_sumh1g7il.js +0 -22
  837. package/out/_next/static/chunks/40jl8yfmy6tp6.js +0 -234
  838. package/out/_next/static/chunks/40xhwnc_48o73.js +0 -297
  839. package/out/_next/static/chunks/41-iysd7qkyg1.js +0 -16
  840. package/out/_next/static/chunks/4105a9rejv_p4.js +0 -1
  841. package/out/_next/static/chunks/41e2wlkp9_pvk.js +0 -28
  842. package/out/_next/static/chunks/41g7mv3yuhz6k.js +0 -68
  843. package/out/_next/static/chunks/43jyzccx6x0lw.js +0 -1
  844. package/out/_next/static/chunks/43vuxh3wdo567.js +0 -10
  845. package/out/_next/static/chunks/44daaafswok67.css +0 -1
  846. package/out/_next/static/chunks/452fv7r-tie6t.js +0 -1
  847. package/out/_next/static/chunks/457j51b69odrw.js +0 -1
  848. package/out/_next/static/chunks/turbopack-02vysfmmbped5.js +0 -1
  849. package/out/_next/static/chunks/turbopack-03fj2scz_09ul.js +0 -1
  850. package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +0 -1
  851. package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +0 -1
  852. package/out/_next/static/chunks/turbopack-0b8-ww_z1vgvn.js +0 -1
  853. package/out/_next/static/chunks/turbopack-0beql_u-wc_3e.js +0 -1
  854. package/out/_next/static/chunks/turbopack-0dxdn-gyy3_qj.js +0 -1
  855. package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +0 -1
  856. package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +0 -1
  857. package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +0 -1
  858. package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +0 -1
  859. package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +0 -1
  860. package/out/_next/static/chunks/turbopack-0te09_mp07k1x.js +0 -1
  861. package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +0 -1
  862. package/out/_next/static/chunks/turbopack-10-8q-q2zomxa.js +0 -1
  863. package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +0 -1
  864. package/out/_next/static/chunks/turbopack-18tezl3vagvil.js +0 -1
  865. package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +0 -1
  866. package/out/_next/static/chunks/turbopack-1_k-7s9lmntml.js +0 -1
  867. package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +0 -1
  868. package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +0 -1
  869. package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +0 -1
  870. package/out/_next/static/chunks/turbopack-1jtk1c9w2axlk.js +0 -1
  871. package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +0 -1
  872. package/out/_next/static/chunks/turbopack-1lkz81ntcp1zv.js +0 -1
  873. package/out/_next/static/chunks/turbopack-1pkw_r5dvv20d.js +0 -1
  874. package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +0 -1
  875. package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +0 -1
  876. package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +0 -1
  877. package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +0 -1
  878. package/out/_next/static/chunks/turbopack-1wv610ktbtzka.js +0 -1
  879. package/out/_next/static/chunks/turbopack-1wz4te1fj20zp.js +0 -1
  880. package/out/_next/static/chunks/turbopack-1zi2ss8eiiyfx.js +0 -1
  881. package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +0 -1
  882. package/out/_next/static/chunks/turbopack-21zngkzhonfcm.js +0 -1
  883. package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +0 -1
  884. package/out/_next/static/chunks/turbopack-26wtylwa4_s95.js +0 -1
  885. package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +0 -1
  886. package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +0 -1
  887. package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +0 -1
  888. package/out/_next/static/chunks/turbopack-28m_9eg3draop.js +0 -1
  889. package/out/_next/static/chunks/turbopack-29h9fgcal-fng.js +0 -1
  890. package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +0 -1
  891. package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +0 -1
  892. package/out/_next/static/chunks/turbopack-2bslf96g-y1vv.js +0 -1
  893. package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +0 -1
  894. package/out/_next/static/chunks/turbopack-2ez-mfb63qve0.js +0 -1
  895. package/out/_next/static/chunks/turbopack-2g7u83j1wlswz.js +0 -1
  896. package/out/_next/static/chunks/turbopack-2m4gns1_64-7_.js +0 -1
  897. package/out/_next/static/chunks/turbopack-2n4ba44aafc4x.js +0 -1
  898. package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +0 -1
  899. package/out/_next/static/chunks/turbopack-2tf6rdek5zvm6.js +0 -1
  900. package/out/_next/static/chunks/turbopack-2vb0p2htqo4nd.js +0 -1
  901. package/out/_next/static/chunks/turbopack-30-bi-9_7jd01.js +0 -1
  902. package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +0 -1
  903. package/out/_next/static/chunks/turbopack-3a3skasosq9-4.js +0 -1
  904. package/out/_next/static/chunks/turbopack-3d2rk8-5wcgrs.js +0 -1
  905. package/out/_next/static/chunks/turbopack-3i91g2le3tkne.js +0 -1
  906. package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +0 -1
  907. package/out/_next/static/chunks/turbopack-3m47jybfw85nc.js +0 -1
  908. package/out/_next/static/chunks/turbopack-3yfksvslbm14s.js +0 -1
  909. package/out/_next/static/chunks/turbopack-414roft8p92hp.js +0 -1
  910. package/out/_next/static/chunks/turbopack-424slv1lqxh_5.js +0 -1
  911. package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +0 -1
  912. package/out/_next/static/z5KrmhOz2mLscINN5EbUf/_buildManifest.js +0 -262
  913. /package/dist/{chunk-JED6SHHG.js → chunk-PUI5BIKO.js} +0 -0
  914. /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → bg3Z_ZBjStiTvJAHlsPDE}/_clientMiddlewareManifest.js +0 -0
  915. /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → bg3Z_ZBjStiTvJAHlsPDE}/_ssgManifest.js +0 -0
package/dist/form.js CHANGED
@@ -1,19 +1,20 @@
1
- import { TextField_default } from './chunk-HTPSKUXQ.js';
2
- export { FormErrors_default as FormErrors, MarkdownTextAreaField_default as MarkdownTextAreaField, TextField_default as TextField } from './chunk-HTPSKUXQ.js';
3
- import { Z, l, b, u2, V, Ae, j, L, S as S$1, c as c$1, s, N, $0c4a58759813079a$export$4e328f61c538687f, $e969f22b6713ca4a$export$ae780daf29e6d456, w, e, u as u$1, Fe, ye, Re, Te, w2, u4, s2, g2, u3 as u3$1, p as p$1, c2 as c2$1, f, a as a$1, JSONView_default } from './chunk-AE5LOZGH.js';
4
- import { HelpText_default, FieldWrapper_default, clsx_default, Badge_default, ChevronUpDownIcon_default, CheckIcon_default } from './chunk-H6G4UTZ5.js';
5
- export { FieldWrapper_default as FieldWrapper, Form_default as Form, SubmitButton_default as SubmitButton, TagInputField_default as TagInputField } from './chunk-H6G4UTZ5.js';
6
- import './chunk-VDKQGOMV.js';
7
- import { useField_default, validateMaxLength, validateDate, validateEmail } from './chunk-I64TXIE7.js';
1
+ import { TextField_default } from './chunk-33ZO52Z7.js';
2
+ export { FormErrors_default as FormErrors, MarkdownTextAreaField_default as MarkdownTextAreaField, TextField_default as TextField } from './chunk-33ZO52Z7.js';
3
+ import { Z, l, b, u2, V, Ae, j, L, S as S$1, c as c$1, s, N, $0c4a58759813079a$export$4e328f61c538687f, $e969f22b6713ca4a$export$ae780daf29e6d456, w, e, u as u$1, Fe, ye, Re, Te, w2, u4, s2, g2, u3 as u3$1, p as p$1, c2 as c2$1, f, a as a$1, JSONView_default } from './chunk-4MXPTVDL.js';
4
+ import { HelpText_default, FieldWrapper_default, clsx_default, Badge_default, ChevronUpDownIcon_default, CheckIcon_default } from './chunk-GWMLIF3C.js';
5
+ export { FieldWrapper_default as FieldWrapper, Form_default as Form, SubmitButton_default as SubmitButton, TagInputField_default as TagInputField } from './chunk-GWMLIF3C.js';
6
+ import './chunk-ZUOVKRKC.js';
7
+ import { useField_default, validateMaxLength, validateDate, validateEmail } from './chunk-ATZJXTRA.js';
8
8
  import './chunk-HERLM47Z.js';
9
- import { m, n as n$1, E } from './chunk-FDHXLNZQ.js';
10
- import { A, Y, r, a, o2, u, S, n, x, k3 as k3$1, n2, K, c, i3, y, n3, o4, V as V$1, p, d, w as w$1, u2 as u2$1, u3, N as N$1, p2, f2, y2, x2, le, s as s$1, o, n4, c2, l2, l as l$1, T, k2, G } from './chunk-QHR23GVH.js';
9
+ import { m, n as n$1, E } from './chunk-EAVP6XZQ.js';
10
+ import { A, Y, r, a, o2, u, S, n, x, k3 as k3$1, n2, K, c, i3, y, n3, o4, V as V$1, p, d, w as w$1, u2 as u2$1, u3, N as N$1, p2, f2, y2, x2, le, s as s$1, o, n4, c2, l2, l as l$1, T, k2, G } from './chunk-CUYIP5XG.js';
11
11
  import './chunk-J23QSWDL.js';
12
- import './chunk-WPLOTFGW.js';
12
+ import './chunk-2HTCKO4E.js';
13
13
  import { jsxs, jsx, Fragment as Fragment$1 } from 'react/jsx-runtime';
14
14
  import * as L2 from 'react';
15
15
  import L2__default, { createContext, useRef, useCallback, useMemo, Fragment, useState, useContext, useEffect } from 'react';
16
16
  import { flushSync } from 'react-dom';
17
+ import { useIntl } from 'react-intl';
17
18
 
18
19
  var FieldWithHelp = ({
19
20
  helpKey,
@@ -74,7 +75,7 @@ var SelectField = (props) => {
74
75
  "select",
75
76
  {
76
77
  className: clsx_default(
77
- "block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",
78
+ "block w-full bg-surface-input rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-text-primary shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",
78
79
  className,
79
80
  {
80
81
  "border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400": !!field.error
@@ -90,14 +91,14 @@ var SelectField = (props) => {
90
91
  /* @__PURE__ */ jsx(
91
92
  "option",
92
93
  {
93
- className: "dark:text-slate-200",
94
+ className: "text-text-secondary",
94
95
  value: "",
95
96
  disabled: field.required,
96
97
  hidden: field.required,
97
98
  children: field.placeholder || field.label
98
99
  }
99
100
  ),
100
- Object.entries(options).map(([value, display]) => /* @__PURE__ */ jsx("option", { className: "dark:text-slate-200", value, children: display }, value))
101
+ Object.entries(options).map(([value, display]) => /* @__PURE__ */ jsx("option", { className: "text-text-secondary", value, children: display }, value))
101
102
  ]
102
103
  }
103
104
  ) }) });
@@ -555,7 +556,86 @@ var debounce = (targetWindow, fn, ms) => {
555
556
  );
556
557
  };
557
558
 
558
- // ../node_modules/@tanstack/virtual-core/dist/esm/index.js
559
+ // ../node_modules/@tanstack/virtual-core/dist/esm/scroll-classifier.js
560
+ function classifyScrollEvent({
561
+ offset,
562
+ isScrolling,
563
+ elementMax,
564
+ holdOffset,
565
+ scrollOffset,
566
+ pendingWrite,
567
+ clampedMaxAtWrite
568
+ }) {
569
+ var _a;
570
+ if (isScrolling && pendingWrite === null && offset === scrollOffset) {
571
+ return "spurious";
572
+ }
573
+ if (pendingWrite !== null && Math.abs(offset - pendingWrite.target) < 1.5) {
574
+ return "readBack";
575
+ }
576
+ if (pendingWrite !== null && !pendingWrite.smooth && elementMax !== null && pendingWrite.target > elementMax + holdOffset + 0.5 && Math.abs(offset - (elementMax + holdOffset)) < 1.5) {
577
+ return "clampedReadBack";
578
+ }
579
+ if (pendingWrite !== null && !pendingWrite.smooth && ((_a = pendingWrite.lowMaxes) == null ? void 0 : _a.some((max) => Math.abs(offset - max) < 1.5))) {
580
+ return "clampedReadBack";
581
+ }
582
+ if (clampedMaxAtWrite !== null && Math.abs(offset - clampedMaxAtWrite) < 1.5) {
583
+ return "clampedEcho";
584
+ }
585
+ return "external";
586
+ }
587
+ var isAnimating = (phase) => phase === "smooth" || phase === "smoothFinishing";
588
+ function externalRetiresCommand({
589
+ kind,
590
+ offset,
591
+ command,
592
+ target
593
+ }) {
594
+ return kind !== "spurious" && kind !== "readBack" && // Our own write, clamped (`clampedReadBack`, #1310): the command is not
595
+ // retired by it, and reconcile retargets below the new max.
596
+ kind !== "clampedReadBack" && (command == null ? void 0 : command.index) != null && // Nothing has been written for a command waiting for the tail; these
597
+ // are the fling's events.
598
+ command.phase !== "queued" && // A non-smooth write lands at once, so any other scroll event is the
599
+ // user's, even before reconcile saw the target reached (the target may
600
+ // keep moving, or iOS ignored the write under a finger). A write the
601
+ // browser clamped because the sizer hasn't grown yet reads back at the
602
+ // max, which is also where the fresh target clamps, so the check below
603
+ // keeps it reconciling (#1294). While a smooth scroll's animation may
604
+ // still report, its events look like a user's, so it yields only once it
605
+ // has landed.
606
+ !isAnimating(command.phase) && !approxEqual(offset, command.lastTargetOffset) && !approxEqual(offset, target()) && // A compensation write's clamped echo (#1258) keeps the command. The
607
+ // order is deliberate, not tidiness: this clause stays after `target()`
608
+ // (and `clampedReadBack` before it) because `target()` can rebuild the
609
+ // measurements, so it must run for exactly the events it always did.
610
+ kind !== "clampedEcho";
611
+ }
612
+ var FLING_WINDOW_MS = 40;
613
+ function flingSpedUp(samples) {
614
+ const last = samples[samples.length - 1];
615
+ if (last === void 0) return false;
616
+ let j3 = samples.length - 2;
617
+ while (j3 >= 0 && last.t - samples[j3].t < FLING_WINDOW_MS) j3--;
618
+ if (j3 < 0) return false;
619
+ const mid = samples[j3];
620
+ let k4 = j3 - 1;
621
+ while (k4 >= 0 && mid.t - samples[k4].t < FLING_WINDOW_MS) k4--;
622
+ if (k4 < 0) return false;
623
+ const first = samples[k4];
624
+ const recent = (last.offset - mid.offset) / (last.t - mid.t);
625
+ const before = (mid.offset - first.offset) / (mid.t - first.t);
626
+ return recent * before >= 0 && Math.abs(recent) >= 2 * Math.abs(before) && Math.abs(recent) - Math.abs(before) >= 0.8;
627
+ }
628
+ function flingCaught(samples) {
629
+ const last = samples[samples.length - 1];
630
+ if (last === void 0) return false;
631
+ let j3 = samples.length - 2;
632
+ while (j3 >= 0 && last.t - samples[j3].t < FLING_WINDOW_MS) j3--;
633
+ if (j3 < 0) return false;
634
+ const from = samples[j3];
635
+ return Math.abs(last.offset - from.offset) / (last.t - from.t) >= 0.05;
636
+ }
637
+
638
+ // ../node_modules/@tanstack/virtual-core/dist/esm/ios-gesture.js
559
639
  var _isIOSResult;
560
640
  var isIOSWebKit = () => {
561
641
  if (_isIOSResult !== void 0) return _isIOSResult;
@@ -564,14 +644,144 @@ var isIOSWebKit = () => {
564
644
  const mtp = navigator.maxTouchPoints;
565
645
  return _isIOSResult = navigator.platform === "MacIntel" && mtp !== void 0 && mtp > 0;
566
646
  };
647
+ var _iosMomentumOverridesWritesResult;
648
+ var iosMomentumOverridesWrites = () => {
649
+ if (_iosMomentumOverridesWritesResult !== void 0) {
650
+ return _iosMomentumOverridesWritesResult;
651
+ }
652
+ return _iosMomentumOverridesWritesResult = isIOSWebKit() && typeof CSS !== "undefined" && typeof CSS.supports === "function" && CSS.supports("overflow-anchor: auto");
653
+ };
654
+ var momentumOverridesWrites = () => !isIOSWebKit() || iosMomentumOverridesWrites();
655
+ var touchListenerOptions = {
656
+ capture: true,
657
+ passive: true
658
+ };
659
+ var IosGesture = class {
660
+ constructor(host) {
661
+ this.host = host;
662
+ this._touch = null;
663
+ this.inMotion = () => this._touch !== null && this._touch.phase !== "lateFling";
664
+ this.dragging = () => {
665
+ var _a;
666
+ return ((_a = this._touch) == null ? void 0 : _a.phase) === "down" && this._touch.moved;
667
+ };
668
+ this.tail = () => {
669
+ var _a;
670
+ return ((_a = this._touch) == null ? void 0 : _a.phase) === "tail" ? this._touch.moved ? "fling" : "tap" : null;
671
+ };
672
+ this.onScroll = ({
673
+ isScrolling,
674
+ ownReadBack,
675
+ moved,
676
+ external
677
+ }) => {
678
+ var _a, _b, _c;
679
+ if (isScrolling && ((_a = this._touch) == null ? void 0 : _a.phase) === "tail") {
680
+ this._openTail(this._touch.moved || !ownReadBack, false);
681
+ } else if (((_b = this._touch) == null ? void 0 : _b.phase) === "lateFling") {
682
+ if (this.host.now() > this._touch.until) {
683
+ this._touch = null;
684
+ } else if (external && isScrolling && moved) {
685
+ this._openTail(true, false);
686
+ }
687
+ }
688
+ if (!ownReadBack && isScrolling && moved && ((_c = this._touch) == null ? void 0 : _c.phase) === "down") {
689
+ this._touch.moved = true;
690
+ return true;
691
+ }
692
+ return false;
693
+ };
694
+ this.touchStart = () => {
695
+ this.end();
696
+ this._touch = { phase: "down", moved: false };
697
+ };
698
+ this.touchEnd = () => {
699
+ var _a;
700
+ const moved = ((_a = this._touch) == null ? void 0 : _a.phase) === "down" && this._touch.moved;
701
+ this.end();
702
+ this._openTail(moved, moved);
703
+ };
704
+ this.end = () => {
705
+ var _a;
706
+ const win = this.host.getWindow();
707
+ if (((_a = this._touch) == null ? void 0 : _a.phase) === "tail" && win != null) {
708
+ win.clearTimeout(this._touch.timerId);
709
+ }
710
+ this._touch = null;
711
+ };
712
+ this.listen = (target) => {
713
+ const onTouchStart = () => this.touchStart();
714
+ const onTouchEnd = () => this.touchEnd();
715
+ target.addEventListener("touchstart", onTouchStart, touchListenerOptions);
716
+ target.addEventListener("touchend", onTouchEnd, touchListenerOptions);
717
+ target.addEventListener("touchcancel", onTouchEnd, touchListenerOptions);
718
+ return () => {
719
+ target.removeEventListener(
720
+ "touchstart",
721
+ onTouchStart,
722
+ touchListenerOptions
723
+ );
724
+ target.removeEventListener("touchend", onTouchEnd, touchListenerOptions);
725
+ target.removeEventListener(
726
+ "touchcancel",
727
+ onTouchEnd,
728
+ touchListenerOptions
729
+ );
730
+ this.end();
731
+ };
732
+ };
733
+ this._openTail = (moved, awaitingFling) => {
734
+ const win = this.host.getWindow();
735
+ if (win == null) return;
736
+ this.end();
737
+ const tail = {
738
+ phase: "tail",
739
+ moved,
740
+ awaitingFling,
741
+ // Only fires while this tail is current: `end` clears it otherwise.
742
+ timerId: win.setTimeout(() => {
743
+ if (this.host.tailStillMoving()) {
744
+ this._openTail(tail.moved, tail.awaitingFling);
745
+ return;
746
+ }
747
+ this._touch = tail.awaitingFling ? { phase: "lateFling", until: this.host.now() + 1e3 } : null;
748
+ this.host.onTailClosed();
749
+ }, 150)
750
+ };
751
+ this._touch = tail;
752
+ };
753
+ }
754
+ get touch() {
755
+ return this._touch;
756
+ }
757
+ };
758
+
759
+ // ../node_modules/@tanstack/virtual-core/dist/esm/index.js
567
760
  var getRect = (element) => {
568
- const { offsetWidth, offsetHeight } = element;
569
- return { width: offsetWidth, height: offsetHeight };
761
+ const { clientWidth, clientHeight } = element;
762
+ return { width: clientWidth, height: clientHeight };
763
+ };
764
+ var createFrameQueue = (targetWindow) => {
765
+ const ids = /* @__PURE__ */ new Set();
766
+ return {
767
+ schedule: (fn) => {
768
+ const id = targetWindow.requestAnimationFrame(() => {
769
+ ids.delete(id);
770
+ fn();
771
+ });
772
+ ids.add(id);
773
+ },
774
+ cancel: () => {
775
+ ids.forEach((id) => targetWindow.cancelAnimationFrame(id));
776
+ ids.clear();
777
+ }
778
+ };
570
779
  };
571
780
  var defaultKeyExtractor = (index) => index;
572
781
  var defaultRangeExtractor = (range) => {
573
- const start = Math.max(range.startIndex - range.overscan, 0);
574
- const end = Math.min(range.endIndex + range.overscan, range.count - 1);
782
+ const overscan = range.overscan * Math.max(range.lanes ?? 1, 1);
783
+ const start = Math.max(range.startIndex - overscan, 0);
784
+ const end = Math.min(range.endIndex + overscan, range.count - 1);
575
785
  const len = end - start + 1;
576
786
  const arr = new Array(len);
577
787
  for (let i2 = 0; i2 < len; i2++) {
@@ -597,23 +807,17 @@ var observeElementRect = (instance, cb) => {
597
807
  return () => {
598
808
  };
599
809
  }
600
- const observer = new targetWindow.ResizeObserver((entries) => {
810
+ const frames = createFrameQueue(targetWindow);
811
+ const observer = new targetWindow.ResizeObserver(() => {
601
812
  const run = () => {
602
- const entry = entries[0];
603
- if (entry == null ? void 0 : entry.borderBoxSize) {
604
- const box = entry.borderBoxSize[0];
605
- if (box) {
606
- handler({ width: box.inlineSize, height: box.blockSize });
607
- return;
608
- }
609
- }
610
813
  handler(getRect(element));
611
814
  };
612
- instance.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(run) : run();
815
+ instance.options.useAnimationFrameWithResizeObserver ? frames.schedule(run) : run();
613
816
  });
614
- observer.observe(element, { box: "border-box" });
817
+ observer.observe(element, { box: "content-box" });
615
818
  return () => {
616
819
  observer.unobserve(element);
820
+ frames.cancel();
617
821
  };
618
822
  };
619
823
  var addEventListenerOptions = {
@@ -688,13 +892,18 @@ var scrollWithAdjustments = (offset, {
688
892
  adjustments = 0,
689
893
  behavior
690
894
  }, instance) => {
691
- var _a, _b;
692
- (_b = (_a = instance.scrollElement) == null ? void 0 : _a.scrollTo) == null ? void 0 : _b.call(_a, {
693
- [instance.options.horizontal ? "left" : "top"]: offset + adjustments,
895
+ var _a;
896
+ const { scrollElement, options } = instance;
897
+ const adjustedOffset = offset + adjustments;
898
+ const isRtlElement = options.horizontal && options.isRtl && scrollElement !== null && "ownerDocument" in scrollElement;
899
+ (_a = scrollElement == null ? void 0 : scrollElement.scrollTo) == null ? void 0 : _a.call(scrollElement, {
900
+ [options.horizontal ? "left" : "top"]: isRtlElement ? -adjustedOffset : adjustedOffset,
694
901
  behavior
695
902
  });
696
903
  };
697
904
  var elementScroll = scrollWithAdjustments;
905
+ var initialScrollPhase = (behavior, atTarget) => behavior === "smooth" ? atTarget ? "smoothLanded" : "smooth" : "instant";
906
+ var isSmoothScroll = (state) => (state == null ? void 0 : state.phase) === "smooth" || (state == null ? void 0 : state.phase) === "smoothLanded";
698
907
  function isAppendWithTrim(prevCount, nextCount, getPreviousKey, getNextKey) {
699
908
  if (nextCount === 0) return false;
700
909
  const firstKey = getNextKey(0);
@@ -736,67 +945,144 @@ var Virtualizer = class {
736
945
  this.scrollRect = null;
737
946
  this.scrollOffset = null;
738
947
  this.scrollDirection = null;
739
- this.scrollAdjustments = 0;
740
- this._iosDeferredAdjustment = 0;
741
- this._iosTouching = false;
742
- this._iosJustTouchEnded = false;
743
- this._iosTouchEndTimerId = null;
744
- this._intendedScrollOffset = null;
948
+ this._holdOffset = 0;
949
+ this._reportedOverscroll = false;
950
+ this._iosGesture = new IosGesture({
951
+ getWindow: () => this.targetWindow,
952
+ now: () => this.now(),
953
+ // The end of a fling can move less than a pixel per scroll event, so
954
+ // events can stop for 150ms while the fling is still running (seen on
955
+ // an iPhone, 27.0.1). A command waiting for it would then be written
956
+ // into the fling and overridden. The element having moved since the
957
+ // last event means it has not ended: wait again. Not while our own
958
+ // write has yet to report: that moved it.
959
+ tailStillMoving: () => {
960
+ const state = this.scrollState;
961
+ if ((state == null ? void 0 : state.phase) !== "queued" || this.pendingWrite !== null) {
962
+ return false;
963
+ }
964
+ const now = this._readElementOffset();
965
+ if (now === null || this._lastElementOffset === null || Math.abs(now - this._lastElementOffset) < 1) {
966
+ return false;
967
+ }
968
+ this._lastElementOffset = now;
969
+ state.samples = [...state.samples ?? [], { t: this.now(), offset: now }];
970
+ return true;
971
+ },
972
+ onTailClosed: () => {
973
+ const state = this.scrollState;
974
+ if ((state == null ? void 0 : state.phase) === "queued" && flingCaught(state.samples ?? [])) {
975
+ this.scrollState = null;
976
+ }
977
+ this._flushHoldIfReady(true);
978
+ this._writeAwaitingCommand();
979
+ this._retryClampedAdjustment();
980
+ }
981
+ });
982
+ this._lastElementOffset = null;
983
+ this.pendingWrite = null;
745
984
  this._clampedAdjustment = null;
746
985
  this.elementsCache = /* @__PURE__ */ new Map();
986
+ this._resizeBatch = null;
747
987
  this.now = () => {
748
988
  var _a, _b, _c;
749
989
  return ((_c = (_b = (_a = this.targetWindow) == null ? void 0 : _a.performance) == null ? void 0 : _b.now) == null ? void 0 : _c.call(_b)) ?? Date.now();
750
990
  };
751
991
  this.observer = /* @__PURE__ */ (() => {
752
992
  let _ro = null;
993
+ let _frames = null;
994
+ let delivering = false;
995
+ let observeQueued = false;
996
+ const pendingObservations = /* @__PURE__ */ new Set();
753
997
  const get = () => {
754
998
  if (_ro) {
755
999
  return _ro;
756
1000
  }
757
- if (!this.targetWindow || !this.targetWindow.ResizeObserver) {
1001
+ const targetWindow = this.targetWindow;
1002
+ if (!targetWindow || !targetWindow.ResizeObserver) {
758
1003
  return null;
759
1004
  }
760
- return _ro = new this.targetWindow.ResizeObserver((entries) => {
761
- entries.forEach((entry) => {
762
- const run = () => {
763
- const node = entry.target;
764
- const index = this.indexFromElement(node);
765
- if (!node.isConnected) {
766
- this.observer.unobserve(node);
767
- for (const [cacheKey, cachedNode] of this.elementsCache) {
768
- if (cachedNode === node) {
769
- this.elementsCache.delete(cacheKey);
770
- break;
771
- }
772
- }
773
- return;
1005
+ const frames = _frames = createFrameQueue(targetWindow);
1006
+ return _ro = new targetWindow.ResizeObserver((entries) => {
1007
+ const run = () => {
1008
+ const batch = { sync: false };
1009
+ this._resizeBatch = batch;
1010
+ try {
1011
+ entries.forEach(measureEntry);
1012
+ } finally {
1013
+ this._resizeBatch = null;
1014
+ if (batch.notify) {
1015
+ this.notify(batch.sync);
1016
+ this._noteClampMax();
1017
+ this._flushHoldIfReady(true);
1018
+ this._retryClampedAdjustment();
1019
+ this.measureElement(null);
774
1020
  }
775
- if (!this.isIndexInRange(index)) return;
776
- if (this.shouldMeasureDuringScroll(index)) {
777
- this.resizeItem(
778
- index,
779
- this.options.measureElement(node, entry, this)
780
- );
781
- }
782
- };
783
- this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(run) : run();
784
- });
1021
+ }
1022
+ };
1023
+ if (this.options.useAnimationFrameWithResizeObserver) {
1024
+ frames.schedule(run);
1025
+ } else {
1026
+ delivering = true;
1027
+ try {
1028
+ run();
1029
+ } finally {
1030
+ delivering = false;
1031
+ }
1032
+ }
785
1033
  });
786
1034
  };
1035
+ const measureEntry = (entry) => {
1036
+ const node = entry.target;
1037
+ const index = this.indexFromElement(node);
1038
+ if (!node.isConnected) {
1039
+ this.observer.unobserve(node);
1040
+ for (const [cacheKey, cachedNode] of this.elementsCache) {
1041
+ if (cachedNode === node) {
1042
+ this.elementsCache.delete(cacheKey);
1043
+ break;
1044
+ }
1045
+ }
1046
+ return;
1047
+ }
1048
+ if (!this.isIndexInRange(index)) return;
1049
+ if (this.shouldMeasureDuringScroll(index)) {
1050
+ this.resizeItem(index, this.options.measureElement(node, entry, this));
1051
+ }
1052
+ };
787
1053
  return {
788
1054
  disconnect: () => {
789
1055
  var _a;
790
1056
  (_a = get()) == null ? void 0 : _a.disconnect();
1057
+ _frames == null ? void 0 : _frames.cancel();
1058
+ pendingObservations.clear();
1059
+ observeQueued = false;
791
1060
  _ro = null;
1061
+ _frames = null;
792
1062
  },
793
1063
  observe: (target) => {
794
- var _a;
795
- return (_a = get()) == null ? void 0 : _a.observe(target, { box: "border-box" });
1064
+ const observer = get();
1065
+ if (!observer) return;
1066
+ if (!delivering) {
1067
+ observer.observe(target, { box: "border-box" });
1068
+ return;
1069
+ }
1070
+ pendingObservations.add(target);
1071
+ if (!observeQueued) {
1072
+ observeQueued = true;
1073
+ _frames == null ? void 0 : _frames.schedule(() => {
1074
+ observeQueued = false;
1075
+ pendingObservations.forEach((node) => {
1076
+ if (node.isConnected) _ro == null ? void 0 : _ro.observe(node, { box: "border-box" });
1077
+ });
1078
+ pendingObservations.clear();
1079
+ });
1080
+ }
796
1081
  },
797
1082
  unobserve: (target) => {
798
1083
  var _a;
799
- return (_a = get()) == null ? void 0 : _a.unobserve(target);
1084
+ pendingObservations.delete(target);
1085
+ (_a = get()) == null ? void 0 : _a.unobserve(target);
800
1086
  }
801
1087
  };
802
1088
  })();
@@ -876,9 +1162,8 @@ var Virtualizer = class {
876
1162
  this.pendingMin = 0;
877
1163
  this.itemSizeCacheVersion++;
878
1164
  }
879
- let anchorResolved = false;
880
- let anchorDelta = 0;
881
- if (anchor && this.scrollOffset !== null) {
1165
+ let anchorDelta = null;
1166
+ if (anchor && this.scrollOffset !== null && !this._awaitingCommandReadBack()) {
882
1167
  const [anchorKey, anchorOffset] = anchor;
883
1168
  const newMeasurements = this.getMeasurements();
884
1169
  const { count, getItemKey } = this.options;
@@ -893,18 +1178,19 @@ var Virtualizer = class {
893
1178
  if (!followOnAppend && newOffset !== this.scrollOffset) {
894
1179
  anchorDelta = newOffset - this.scrollOffset;
895
1180
  this.scrollOffset = newOffset;
896
- anchorResolved = true;
897
1181
  }
898
1182
  }
899
1183
  }
900
1184
  }
901
- if (anchorResolved || followOnAppend) {
902
- this.pendingScrollAnchor = [
903
- anchorResolved ? anchor[0] : null,
904
- anchorResolved ? anchor[1] : 0,
905
- followOnAppend,
906
- anchorDelta
907
- ];
1185
+ if (followOnAppend) {
1186
+ this.pendingScrollAnchor = { kind: "follow", behavior: followOnAppend };
1187
+ } else if (anchorDelta !== null) {
1188
+ if (this._canWriteScroll()) {
1189
+ this.pendingScrollAnchor = { kind: "anchor", delta: anchorDelta };
1190
+ } else {
1191
+ this._holdOffset += anchorDelta;
1192
+ this._followOffsetTarget(anchorDelta);
1193
+ }
908
1194
  }
909
1195
  };
910
1196
  this.notify = (sync) => {
@@ -934,6 +1220,7 @@ var Virtualizer = class {
934
1220
  }
935
1221
  );
936
1222
  this.cleanup = () => {
1223
+ var _a;
937
1224
  this.unsubs.filter(Boolean).forEach((d2) => d2());
938
1225
  this.unsubs = [];
939
1226
  this.observer.disconnect();
@@ -942,12 +1229,14 @@ var Virtualizer = class {
942
1229
  this.rafId = null;
943
1230
  }
944
1231
  this.scrollState = null;
1232
+ (_a = this._momentumStop) == null ? void 0 : _a.restore();
1233
+ this._momentumStop = null;
945
1234
  this.isScrolling = false;
946
1235
  this.scrollDirection = null;
947
- this._iosDeferredAdjustment = 0;
948
- this._iosTouching = false;
949
- this._iosJustTouchEnded = false;
1236
+ this._holdOffset = 0;
1237
+ this._reportedOverscroll = false;
950
1238
  this._clampedAdjustment = null;
1239
+ this.pendingWrite = null;
951
1240
  this.scrollElement = null;
952
1241
  this.targetWindow = null;
953
1242
  };
@@ -957,7 +1246,7 @@ var Virtualizer = class {
957
1246
  };
958
1247
  };
959
1248
  this._willUpdate = () => {
960
- var _a, _b;
1249
+ var _a;
961
1250
  const scrollElement = this.options.enabled ? this.options.getScrollElement() : null;
962
1251
  if (this.scrollElement !== scrollElement) {
963
1252
  this.cleanup();
@@ -982,22 +1271,71 @@ var Virtualizer = class {
982
1271
  );
983
1272
  this.unsubs.push(
984
1273
  this.options.observeElementOffset(this, (offset, isScrolling) => {
985
- if (isScrolling && this._intendedScrollOffset === null && offset === this.scrollOffset) {
986
- return;
987
- }
988
- if (this._intendedScrollOffset !== null && Math.abs(offset - this._intendedScrollOffset) < 1.5) {
989
- offset = this._intendedScrollOffset;
1274
+ var _a2, _b, _c, _d;
1275
+ const elementMax = isScrolling ? this._elementMaxScrollOffset() : null;
1276
+ const wasOverscrolled = this._reportedOverscroll;
1277
+ this._reportedOverscroll = offset < 0 || elementMax !== null && offset > elementMax + 1;
1278
+ const elementOffset = offset;
1279
+ this._lastElementOffset = elementOffset;
1280
+ offset = this._toLayoutOffset(offset);
1281
+ const kind = this._classifyScrollEvent(
1282
+ offset,
1283
+ isScrolling,
1284
+ elementMax
1285
+ );
1286
+ if (kind === "spurious") return;
1287
+ if (kind === "readBack") {
1288
+ offset = this.pendingWrite.target;
1289
+ } else if (kind === "clampedReadBack" && ((_a2 = this.scrollState) == null ? void 0 : _a2.index) != null && // Not `elementMax`: an adapter can report the read-back at rest.
1290
+ offset < this.getMaxScrollOffset() - 1.5) {
1291
+ this.scrollState.lastTargetOffset = offset;
1292
+ } else if (externalRetiresCommand({
1293
+ kind,
1294
+ offset,
1295
+ command: this.scrollState,
1296
+ target: () => this.getScrollStateTarget(this.scrollState)
1297
+ })) {
1298
+ this.scrollState = null;
990
1299
  }
991
- this._intendedScrollOffset = null;
1300
+ this.pendingWrite = null;
992
1301
  if (this._clampedAdjustment !== null && Math.abs(offset - this._clampedAdjustment.maxAtWrite) >= 1.5) {
993
1302
  this._clampedAdjustment = null;
994
1303
  }
995
- this.scrollAdjustments = 0;
996
1304
  const prevOffset = this.getScrollOffset();
1305
+ const prevDirection = this.scrollDirection;
997
1306
  this.scrollDirection = isScrolling ? prevOffset === offset ? this.scrollDirection : prevOffset < offset ? "forward" : "backward" : null;
998
1307
  this.scrollOffset = offset;
999
1308
  this.isScrolling = isScrolling;
1000
- this._flushIosDeferredIfReady();
1309
+ const queued = this.scrollState;
1310
+ if ((queued == null ? void 0 : queued.phase) === "queued" && kind === "external" && isScrolling) {
1311
+ if (wasOverscrolled || this._reportedOverscroll) {
1312
+ queued.samples = [];
1313
+ } else {
1314
+ const t = this.now();
1315
+ queued.samples = [
1316
+ ...(queued.samples ?? []).filter(
1317
+ (sample) => t - sample.t <= 200
1318
+ ),
1319
+ { t, offset: elementOffset }
1320
+ ];
1321
+ if (prevDirection !== null && this.scrollDirection !== prevDirection || flingSpedUp(queued.samples)) {
1322
+ this.scrollState = null;
1323
+ }
1324
+ }
1325
+ }
1326
+ if (this._iosGesture.onScroll({
1327
+ isScrolling,
1328
+ ownReadBack: kind === "readBack",
1329
+ moved: offset !== prevOffset,
1330
+ // Neither our write's read-back nor a frame of our smooth
1331
+ // animation: the user or a fling moved it.
1332
+ external: kind === "external" && ((_b = this.scrollState) == null ? void 0 : _b.phase) !== "smooth" && ((_c = this.scrollState) == null ? void 0 : _c.phase) !== "smoothFinishing"
1333
+ }) && // The user scrolls: a command still waiting for the tail is
1334
+ // theirs to override, like a written one would be.
1335
+ ((_d = this.scrollState) == null ? void 0 : _d.phase) === "queued") {
1336
+ this.scrollState = null;
1337
+ }
1338
+ this._flushHoldIfReady(true);
1001
1339
  if (this.scrollState) {
1002
1340
  this.scheduleScrollReconcile();
1003
1341
  }
@@ -1005,109 +1343,101 @@ var Virtualizer = class {
1005
1343
  })
1006
1344
  );
1007
1345
  if ("addEventListener" in this.scrollElement) {
1008
- const scrollEl = this.scrollElement;
1009
- const onTouchStart = () => {
1010
- this._iosTouching = true;
1011
- this._iosJustTouchEnded = false;
1012
- if (this._iosTouchEndTimerId !== null && this.targetWindow != null) {
1013
- this.targetWindow.clearTimeout(this._iosTouchEndTimerId);
1014
- this._iosTouchEndTimerId = null;
1015
- }
1016
- };
1017
- const onTouchEnd = () => {
1018
- this._iosTouching = false;
1019
- if (!isIOSWebKit() || this.targetWindow == null) {
1020
- return;
1021
- }
1022
- this._iosJustTouchEnded = true;
1023
- this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
1024
- this._iosJustTouchEnded = false;
1025
- this._iosTouchEndTimerId = null;
1026
- this._flushIosDeferredIfReady();
1027
- }, 150);
1028
- };
1029
- scrollEl.addEventListener(
1030
- "touchstart",
1031
- onTouchStart,
1032
- addEventListenerOptions
1346
+ this.unsubs.push(
1347
+ this._iosGesture.listen(this.scrollElement)
1033
1348
  );
1034
- scrollEl.addEventListener(
1035
- "touchend",
1036
- onTouchEnd,
1037
- addEventListenerOptions
1038
- );
1039
- this.unsubs.push(() => {
1040
- scrollEl.removeEventListener("touchstart", onTouchStart);
1041
- scrollEl.removeEventListener("touchend", onTouchEnd);
1042
- if (this._iosTouchEndTimerId !== null && this.targetWindow != null) {
1043
- this.targetWindow.clearTimeout(this._iosTouchEndTimerId);
1044
- this._iosTouchEndTimerId = null;
1045
- }
1046
- });
1047
1349
  }
1048
- this._scrollToOffset(this.getScrollOffset(), {
1049
- adjustments: void 0,
1050
- behavior: void 0
1051
- });
1350
+ this._scrollToOffset(this.getScrollOffset());
1052
1351
  }
1352
+ this._noteClampMax();
1053
1353
  const anchor = this.pendingScrollAnchor;
1054
1354
  this.pendingScrollAnchor = null;
1055
1355
  if (anchor && this.scrollElement && this.options.enabled) {
1056
- const [key, _offset, followOnAppend, anchorDelta] = anchor;
1057
- if (key !== null && !followOnAppend) {
1058
- if (isIOSWebKit() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded)) {
1059
- if (anchorDelta !== 0) {
1060
- this._iosDeferredAdjustment += anchorDelta;
1061
- }
1062
- } else if (((_b = this.scrollState) == null ? void 0 : _b.behavior) === "smooth" && !approxEqual(
1063
- this.getScrollOffset() - anchorDelta,
1356
+ if (anchor.kind === "anchor") {
1357
+ if (!this._canWriteScroll()) {
1358
+ this._holdOffset += anchor.delta;
1359
+ this._followOffsetTarget(anchor.delta);
1360
+ this.notify(false);
1361
+ } else if (isSmoothScroll(this.scrollState) && !approxEqual(
1362
+ this.getScrollOffset() - anchor.delta,
1064
1363
  this.scrollState.lastTargetOffset
1065
1364
  )) ;
1066
1365
  else {
1067
- this._scrollToOffset(this.getScrollOffset(), {
1068
- adjustments: void 0,
1069
- behavior: void 0
1070
- });
1366
+ this._followOffsetTarget(anchor.delta);
1367
+ this._scrollToOffset(this.getScrollOffset());
1071
1368
  }
1072
- }
1073
- if (followOnAppend) {
1074
- this.scrollToEnd({ behavior: followOnAppend });
1369
+ } else {
1370
+ this.scrollToEnd({ behavior: anchor.behavior });
1075
1371
  }
1076
1372
  }
1373
+ this._flushHoldIfReady(false);
1077
1374
  this._retryClampedAdjustment();
1078
1375
  };
1376
+ this._classifyScrollEvent = (offset, isScrolling, elementMax) => {
1377
+ var _a;
1378
+ return classifyScrollEvent({
1379
+ offset,
1380
+ isScrolling,
1381
+ elementMax,
1382
+ holdOffset: this._holdOffset,
1383
+ scrollOffset: this.scrollOffset,
1384
+ pendingWrite: this.pendingWrite,
1385
+ clampedMaxAtWrite: ((_a = this._clampedAdjustment) == null ? void 0 : _a.maxAtWrite) ?? null
1386
+ });
1387
+ };
1079
1388
  this._retryClampedAdjustment = () => {
1080
- if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled) {
1389
+ if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled || !this._canWriteScroll()) {
1081
1390
  return;
1082
1391
  }
1083
1392
  const { target, maxAtWrite } = this._clampedAdjustment;
1084
1393
  const max = this.getMaxScrollOffset();
1085
1394
  if (max > maxAtWrite + 0.5) {
1086
1395
  this._clampedAdjustment = target > max + 0.5 ? { target, maxAtWrite: max } : null;
1087
- this._scrollToOffset(target, {
1088
- adjustments: void 0,
1089
- behavior: void 0
1090
- });
1396
+ this._scrollToOffset(target);
1091
1397
  }
1092
1398
  };
1093
- this._flushIosDeferredIfReady = () => {
1094
- if (this._iosDeferredAdjustment === 0) return;
1095
- if (this.isScrolling) return;
1096
- if (this._iosTouching) return;
1097
- if (this._iosJustTouchEnded) return;
1098
- const cur = this.getScrollOffset();
1099
- const max = this.getMaxScrollOffset();
1100
- if (cur < 0 || cur > max) return;
1101
- if (this._iosDeferredAdjustment < 0 && cur >= max - 1) {
1102
- this._iosDeferredAdjustment = 0;
1103
- return;
1399
+ this._writeAwaitingCommand = () => {
1400
+ const state = this.scrollState;
1401
+ if (state === null || state.phase !== "queued") return;
1402
+ const { behavior } = state;
1403
+ this.getMeasurements();
1404
+ const offset = this.getScrollStateTarget(state);
1405
+ state.lastTargetOffset = offset;
1406
+ this._clampedAdjustment = null;
1407
+ state.phase = initialScrollPhase(
1408
+ behavior,
1409
+ state.index != null && approxEqual(offset, this.getScrollOffset())
1410
+ );
1411
+ this._scrollToOffset(offset, { behavior });
1412
+ this.scheduleScrollReconcile();
1413
+ };
1414
+ this._readElementOffset = () => {
1415
+ const el = this.scrollElement;
1416
+ if (el == null) return null;
1417
+ const { horizontal, isRtl } = this.options;
1418
+ if (typeof el.scrollTop === "number") {
1419
+ return horizontal ? el.scrollLeft * (isRtl && -1 || 1) : el.scrollTop;
1104
1420
  }
1105
- const delta = this._iosDeferredAdjustment;
1106
- this._iosDeferredAdjustment = 0;
1107
- this._scrollToOffset(cur, {
1108
- adjustments: this.scrollAdjustments += delta,
1109
- behavior: void 0
1110
- });
1421
+ if (typeof el.scrollY === "number") {
1422
+ return horizontal ? el.scrollX : el.scrollY;
1423
+ }
1424
+ return null;
1425
+ };
1426
+ this._canWriteScroll = () => !(isIOSWebKit() && this._iosGesture.inMotion()) && !this._reportedOverscroll;
1427
+ this._flushHoldIfReady = (sync) => {
1428
+ var _a;
1429
+ if (this._holdOffset === 0) return;
1430
+ if (!this.scrollElement || !this.options.enabled) return;
1431
+ if (!this._canWriteScroll()) return;
1432
+ if (((_a = this.scrollState) == null ? void 0 : _a.phase) === "smooth") return;
1433
+ this._holdOffset = 0;
1434
+ if (this.scrollOffset !== null && this.scrollOffset < 0) {
1435
+ this.scrollOffset = 0;
1436
+ }
1437
+ this.notify(sync);
1438
+ const target = this.getCommandWrittenOffset() ?? this.getScrollOffset();
1439
+ this._clampedAdjustment = this._clampedBy(target);
1440
+ this._scrollToOffset(target);
1111
1441
  };
1112
1442
  this.rafId = null;
1113
1443
  this.getSize = () => {
@@ -1315,17 +1645,21 @@ var Virtualizer = class {
1315
1645
  this.getMeasurements(),
1316
1646
  this.getSize(),
1317
1647
  this.getScrollOffset(),
1318
- this.options.lanes
1648
+ this.options.lanes,
1649
+ // scrollOffset is measured in the scroll element and the layout total
1650
+ // from the list start, so the list ends scrollMargin further down.
1651
+ this._getLayoutTotalSize() + this.options.scrollMargin
1319
1652
  ],
1320
- (measurements, outerSize, scrollOffset, lanes) => {
1653
+ (measurements, outerSize, scrollOffset, lanes, listEnd) => {
1321
1654
  if (measurements.length === 0 || outerSize === 0) {
1322
1655
  this.range = null;
1323
1656
  return null;
1324
1657
  }
1658
+ const maxScrollOffset = Math.max(listEnd - outerSize, 0);
1325
1659
  this.range = calculateRangeImpl(
1326
1660
  measurements,
1327
1661
  outerSize,
1328
- scrollOffset,
1662
+ Math.min(scrollOffset, maxScrollOffset),
1329
1663
  lanes,
1330
1664
  // Pass the typed array so binary search + forward-walk can read
1331
1665
  // start/end directly from Float64Array, skipping the Proxy traps.
@@ -1353,15 +1687,17 @@ var Virtualizer = class {
1353
1687
  this.options.overscan,
1354
1688
  this.options.count,
1355
1689
  startIndex,
1356
- endIndex
1690
+ endIndex,
1691
+ this.options.lanes
1357
1692
  ];
1358
1693
  },
1359
- (rangeExtractor, overscan, count, startIndex, endIndex) => {
1694
+ (rangeExtractor, overscan, count, startIndex, endIndex, lanes) => {
1360
1695
  return startIndex === null || endIndex === null ? [] : rangeExtractor({
1361
1696
  startIndex,
1362
1697
  endIndex,
1363
1698
  overscan,
1364
- count
1699
+ count,
1700
+ lanes
1365
1701
  });
1366
1702
  },
1367
1703
  {
@@ -1382,7 +1718,7 @@ var Virtualizer = class {
1382
1718
  };
1383
1719
  this.shouldMeasureDuringScroll = (index) => {
1384
1720
  var _a;
1385
- if (!this.scrollState || this.scrollState.behavior !== "smooth") {
1721
+ if (!isSmoothScroll(this.scrollState)) {
1386
1722
  return true;
1387
1723
  }
1388
1724
  const scrollIndex = this.scrollState.index ?? ((_a = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : _a.index);
@@ -1421,17 +1757,18 @@ var Virtualizer = class {
1421
1757
  this.observer.observe(node);
1422
1758
  this.elementsCache.set(key, node);
1423
1759
  }
1424
- if ((!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(index)) {
1760
+ if (node.isConnected && (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(index)) {
1425
1761
  this.resizeItem(index, this.options.measureElement(node, void 0, this));
1426
1762
  }
1427
1763
  };
1428
1764
  this.resizeItem = (index, size) => {
1429
1765
  var _a, _b, _c;
1430
1766
  if (!this.isIndexInRange(index)) return;
1767
+ if ((_a = this._resizeBatch) == null ? void 0 : _a.sync) this.getMeasurements();
1431
1768
  let cachedSize;
1432
1769
  let itemStart;
1433
1770
  let key;
1434
- const flat = (_a = this._singleLaneMeasurements) == null ? void 0 : _a.flat;
1771
+ const flat = (_b = this._singleLaneMeasurements) == null ? void 0 : _b.flat;
1435
1772
  if (this.options.lanes === 1 && flat != null) {
1436
1773
  key = this.options.getItemKey(index);
1437
1774
  itemStart = flat[index * 2];
@@ -1446,15 +1783,15 @@ var Virtualizer = class {
1446
1783
  const itemSize = this.itemSizeCache.get(key) ?? cachedSize;
1447
1784
  const delta = size - itemSize;
1448
1785
  if (delta !== 0) {
1449
- const wasAtEnd = this.options.anchorTo === "end" && ((_b = this.scrollState) == null ? void 0 : _b.behavior) !== "smooth" && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold;
1450
- const prevTotalSize = wasAtEnd ? this.getTotalSize() : 0;
1451
- const scrollOffsetWithAdj = this.getScrollOffset() + this.scrollAdjustments;
1786
+ const wasAtEnd = this.options.anchorTo === "end" && !isSmoothScroll(this.scrollState) && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold;
1787
+ const prevTotalSize = wasAtEnd ? this._getLayoutTotalSize() : 0;
1788
+ const scrollOffset = this.getScrollOffset();
1452
1789
  const isFirstMeasure = !this.itemSizeCache.has(key);
1453
1790
  const defaultShouldAdjust = isFirstMeasure ? (
1454
1791
  // First measurement: compensate any item whose top sits above the
1455
1792
  // fold — the estimate→actual delta must be corrected regardless of
1456
1793
  // scroll direction, since the whole estimated block was above it.
1457
- itemStart < scrollOffsetWithAdj
1794
+ itemStart < scrollOffset
1458
1795
  ) : (
1459
1796
  // Re-measurement: only compensate an item that is ENTIRELY above the
1460
1797
  // fold. An item that merely *spans* the fold (top above, bottom
@@ -1463,9 +1800,9 @@ var Virtualizer = class {
1463
1800
  // delta would drag the viewport downward on every growth (#1218).
1464
1801
  // Also skip during backward scroll to avoid the "items jump while
1465
1802
  // scrolling up" cascade.
1466
- itemStart + itemSize <= scrollOffsetWithAdj && this.scrollDirection !== "backward"
1803
+ itemStart + itemSize <= scrollOffset && this.scrollDirection !== "backward"
1467
1804
  );
1468
- const shouldAdjustScroll = ((_c = this.scrollState) == null ? void 0 : _c.behavior) !== "smooth" && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
1805
+ const shouldAdjustScroll = !isSmoothScroll(this.scrollState) && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
1469
1806
  // The callback expects a VirtualItem; build one lazily only
1470
1807
  // when the consumer actually supplied a custom predicate.
1471
1808
  this.measurementsCache[index] ?? {
@@ -1485,25 +1822,40 @@ var Virtualizer = class {
1485
1822
  this.itemSizeCache.set(key, size);
1486
1823
  this.itemSizeCacheVersion++;
1487
1824
  let adjustedSync = false;
1488
- if (wasAtEnd) {
1489
- adjustedSync = this.applyScrollAdjustment(
1490
- this.getTotalSize() - prevTotalSize
1491
- );
1492
- } else if (shouldAdjustScroll) {
1493
- adjustedSync = this.applyScrollAdjustment(delta);
1825
+ if (!this._awaitingCommandReadBack()) {
1826
+ if (wasAtEnd) {
1827
+ adjustedSync = this.applyScrollAdjustment(
1828
+ this._getLayoutTotalSize() - prevTotalSize
1829
+ );
1830
+ } else if (shouldAdjustScroll) {
1831
+ adjustedSync = this.applyScrollAdjustment(delta);
1832
+ }
1833
+ }
1834
+ if (this._resizeBatch) {
1835
+ this._resizeBatch.notify = true;
1836
+ (_c = this._resizeBatch).sync || (_c.sync = adjustedSync);
1837
+ return;
1494
1838
  }
1495
1839
  this.notify(adjustedSync);
1840
+ this._noteClampMax();
1841
+ this._flushHoldIfReady(true);
1496
1842
  this._retryClampedAdjustment();
1497
1843
  }
1498
1844
  };
1499
1845
  this.getVirtualItems = memo(
1500
- () => [this.getVirtualIndexes(), this.getMeasurements()],
1501
- (indexes, measurements) => {
1846
+ () => [this.getVirtualIndexes(), this.getMeasurements(), this._holdOffset],
1847
+ (indexes, measurements, hold) => {
1502
1848
  const virtualItems = [];
1503
1849
  for (let k4 = 0, len = indexes.length; k4 < len; k4++) {
1504
1850
  const i2 = indexes[k4];
1505
1851
  const measurement = measurements[i2];
1506
- virtualItems.push(measurement);
1852
+ virtualItems.push(
1853
+ hold === 0 ? measurement : {
1854
+ ...measurement,
1855
+ start: measurement.start - hold,
1856
+ end: measurement.end - hold
1857
+ }
1858
+ );
1507
1859
  }
1508
1860
  return virtualItems;
1509
1861
  },
@@ -1528,18 +1880,89 @@ var Virtualizer = class {
1528
1880
  );
1529
1881
  return notUndefined(measurements[idx]);
1530
1882
  };
1531
- this.getMaxScrollOffset = () => {
1532
- if (!this.scrollElement) return 0;
1533
- if ("scrollHeight" in this.scrollElement) {
1534
- return this.options.horizontal ? this.scrollElement.scrollWidth - this.scrollElement.clientWidth : this.scrollElement.scrollHeight - this.scrollElement.clientHeight;
1535
- } else {
1536
- const doc = this.scrollElement.document.documentElement;
1537
- return this.options.horizontal ? doc.scrollWidth - this.scrollElement.innerWidth : doc.scrollHeight - this.scrollElement.innerHeight;
1883
+ this._noteClampMax = () => {
1884
+ if (!this._awaitingCommandReadBack()) return;
1885
+ const elementMax = this._elementMaxScrollOffset();
1886
+ if (elementMax === null) return;
1887
+ const write = this.pendingWrite;
1888
+ const max = Math.max(elementMax, 0) + this._holdOffset;
1889
+ if (max >= write.target) return;
1890
+ const lowMaxes = write.lowMaxes ?? (write.lowMaxes = []);
1891
+ if (lowMaxes[lowMaxes.length - 1] !== max) lowMaxes.push(max);
1892
+ };
1893
+ this.getMaxScrollOffset = () => (this._elementMaxScrollOffset() ?? 0) + this._holdOffset;
1894
+ this._toLayoutOffset = (elementOffset) => {
1895
+ var _a;
1896
+ let offset = elementOffset + this._holdOffset;
1897
+ if (((_a = this.pendingScrollAnchor) == null ? void 0 : _a.kind) === "anchor") {
1898
+ offset += this.pendingScrollAnchor.delta;
1899
+ }
1900
+ return offset;
1901
+ };
1902
+ this._elementMaxScrollOffset = () => {
1903
+ const el = this.scrollElement;
1904
+ if (el === null) return null;
1905
+ if ("scrollHeight" in el) {
1906
+ return this.options.horizontal ? el.scrollWidth - el.clientWidth : el.scrollHeight - el.clientHeight;
1538
1907
  }
1908
+ if ("document" in el) {
1909
+ const doc = el.document.documentElement;
1910
+ return this.options.horizontal ? doc.scrollWidth - el.innerWidth : doc.scrollHeight - el.innerHeight;
1911
+ }
1912
+ return null;
1913
+ };
1914
+ this._momentumStop = null;
1915
+ this._stopMomentum = (done) => {
1916
+ const el = this.scrollElement;
1917
+ const win = this.targetWindow;
1918
+ if (el === null || win === null) return;
1919
+ const scroller = "document" in el ? el.document.scrollingElement : el;
1920
+ if (!(scroller == null ? void 0 : scroller.style)) return;
1921
+ if (this._momentumStop) {
1922
+ this._momentumStop.done = done;
1923
+ return;
1924
+ }
1925
+ const { style } = scroller;
1926
+ const property = this.options.horizontal ? "overflow-x" : "overflow-y";
1927
+ const value = style.getPropertyValue(property);
1928
+ const priority = style.getPropertyPriority(property);
1929
+ const crossSize = () => this.options.horizontal ? scroller.clientHeight : scroller.clientWidth;
1930
+ const crossSizeBefore = crossSize();
1931
+ style.setProperty(property, "hidden", "important");
1932
+ if (crossSize() !== crossSizeBefore) {
1933
+ style.setProperty(property, value, priority);
1934
+ return;
1935
+ }
1936
+ const stop = {
1937
+ // False when the app replaced the hidden value: the fling may not
1938
+ // have stopped.
1939
+ restore: () => {
1940
+ if (style.getPropertyValue(property) !== "hidden" || style.getPropertyPriority(property) !== "important") {
1941
+ return false;
1942
+ }
1943
+ style.setProperty(property, value, priority);
1944
+ return true;
1945
+ },
1946
+ done
1947
+ };
1948
+ this._momentumStop = stop;
1949
+ win.requestAnimationFrame(
1950
+ () => win.requestAnimationFrame(() => {
1951
+ if (this._momentumStop !== stop) return;
1952
+ this._momentumStop = null;
1953
+ if (stop.restore()) stop.done();
1954
+ })
1955
+ );
1956
+ };
1957
+ this._clampedBy = (target) => {
1958
+ const elementMax = this._elementMaxScrollOffset();
1959
+ if (elementMax === null) return null;
1960
+ const maxAtWrite = elementMax + this._holdOffset;
1961
+ return target > maxAtWrite + 0.5 ? { target, maxAtWrite } : null;
1539
1962
  };
1540
1963
  this.getVirtualDistanceFromEnd = () => {
1541
1964
  return Math.max(
1542
- this.getTotalSize() - this.getSize() - this.getScrollOffset(),
1965
+ this._getLayoutTotalSize() + this.options.scrollMargin - this.getSize() - this.getScrollOffset(),
1543
1966
  0
1544
1967
  );
1545
1968
  };
@@ -1568,7 +1991,7 @@ var Virtualizer = class {
1568
1991
  index = Math.max(0, Math.min(index, this.options.count - 1));
1569
1992
  const size = this.getSize();
1570
1993
  const scrollOffset = this.getScrollOffset();
1571
- const item = this.measurementsCache[index];
1994
+ const item = this.getMeasurements()[index];
1572
1995
  if (!item) return;
1573
1996
  if (align === "auto") {
1574
1997
  if (item.end >= scrollOffset + size - this.options.scrollPaddingEnd) {
@@ -1580,7 +2003,9 @@ var Virtualizer = class {
1580
2003
  }
1581
2004
  }
1582
2005
  if (align === "end" && index === this.options.count - 1) {
1583
- return [this.getMaxScrollOffset(), align];
2006
+ const maxOffset = this.getMaxScrollOffset();
2007
+ const toOffset2 = maxOffset - this.options.paddingEnd + this.options.scrollPaddingEnd;
2008
+ return [Math.max(Math.min(toOffset2, maxOffset), 0), align];
1584
2009
  }
1585
2010
  const toOffset = align === "end" ? item.end + this.options.scrollPaddingEnd : item.start - this.options.scrollPaddingStart;
1586
2011
  return [
@@ -1589,70 +2014,58 @@ var Virtualizer = class {
1589
2014
  ];
1590
2015
  };
1591
2016
  this.scrollToOffset = (toOffset, { align = "start", behavior = "auto" } = {}) => {
1592
- this._iosDeferredAdjustment = 0;
1593
- const offset = this.getOffsetForAlignment(toOffset, align);
1594
- const now = this.now();
1595
- this.scrollState = {
1596
- index: null,
1597
- align,
2017
+ this._startScroll(
2018
+ { index: null, align },
2019
+ this.getOffsetForAlignment(toOffset, align),
1598
2020
  behavior,
1599
- startedAt: now,
1600
- lastTargetOffset: offset,
1601
- stableFrames: 0
1602
- };
1603
- this._scrollToOffset(offset, { adjustments: void 0, behavior });
1604
- this.scheduleScrollReconcile();
2021
+ "absolute"
2022
+ );
1605
2023
  };
1606
2024
  this.scrollToIndex = (index, {
1607
2025
  align: initialAlign = "auto",
1608
2026
  behavior = "auto"
1609
2027
  } = {}) => {
1610
- this._iosDeferredAdjustment = 0;
1611
2028
  index = Math.max(0, Math.min(index, this.options.count - 1));
1612
2029
  const offsetInfo = this.getOffsetForIndex(index, initialAlign);
1613
- if (!offsetInfo) {
1614
- return;
1615
- }
2030
+ if (!offsetInfo) return;
1616
2031
  const [offset, align] = offsetInfo;
1617
- const now = this.now();
1618
- this.scrollState = {
1619
- index,
1620
- align,
1621
- behavior,
1622
- startedAt: now,
1623
- lastTargetOffset: offset,
1624
- stableFrames: 0
1625
- };
1626
- this._scrollToOffset(offset, { adjustments: void 0, behavior });
1627
- this.scheduleScrollReconcile();
2032
+ this._startScroll({ index, align }, offset, behavior, "absolute");
1628
2033
  };
1629
2034
  this.scrollBy = (delta, { behavior = "auto" } = {}) => {
1630
- const offset = this.getScrollOffset() + delta;
1631
- const now = this.now();
1632
- this.scrollState = {
1633
- index: null,
1634
- align: "start",
2035
+ const offset = this.getOffsetForAlignment(
2036
+ (this.getCommandWrittenOffset() ?? this.getScrollOffset()) + delta,
2037
+ "start"
2038
+ );
2039
+ this._startScroll(
2040
+ { index: null, align: "start" },
2041
+ offset,
1635
2042
  behavior,
1636
- startedAt: now,
1637
- lastTargetOffset: offset,
1638
- stableFrames: 0
1639
- };
1640
- this._scrollToOffset(offset, { adjustments: void 0, behavior });
1641
- this.scheduleScrollReconcile();
2043
+ "relative"
2044
+ );
1642
2045
  };
1643
2046
  this.scrollToEnd = ({ behavior = "auto" } = {}) => {
1644
2047
  if (this.options.count > 0) {
1645
- this.scrollToIndex(this.options.count - 1, {
1646
- align: "end",
1647
- behavior
1648
- });
2048
+ this._startScroll(
2049
+ { index: this.options.count - 1, align: "end", toEnd: true },
2050
+ Math.max(this.getMaxScrollOffset(), 0),
2051
+ behavior,
2052
+ "absolute"
2053
+ );
1649
2054
  return;
1650
2055
  }
1651
2056
  this.scrollToOffset(Math.max(this.getTotalSize() - this.getSize(), 0), {
1652
2057
  behavior
1653
2058
  });
1654
2059
  };
1655
- this.getTotalSize = () => {
2060
+ this.cancelScroll = () => {
2061
+ if (this.rafId != null && this.targetWindow) {
2062
+ this.targetWindow.cancelAnimationFrame(this.rafId);
2063
+ this.rafId = null;
2064
+ }
2065
+ this.scrollState = null;
2066
+ };
2067
+ this.getTotalSize = () => Math.max(this._getLayoutTotalSize() - this._holdOffset, 0);
2068
+ this._getLayoutTotalSize = () => {
1656
2069
  var _a, _b;
1657
2070
  const measurements = this.getMeasurements();
1658
2071
  let end;
@@ -1704,9 +2117,28 @@ var Virtualizer = class {
1704
2117
  this._scrollToOffset = (offset, {
1705
2118
  adjustments,
1706
2119
  behavior
1707
- }) => {
1708
- this._intendedScrollOffset = offset + (adjustments ?? 0);
1709
- this.options.scrollToFn(offset, { behavior, adjustments }, this);
2120
+ } = {}) => {
2121
+ const write = {
2122
+ target: offset + (adjustments ?? 0),
2123
+ smooth: behavior === "smooth"
2124
+ };
2125
+ this.pendingWrite = write;
2126
+ this.options.scrollToFn(
2127
+ offset - this._holdOffset,
2128
+ { behavior, adjustments },
2129
+ this
2130
+ );
2131
+ return write;
2132
+ };
2133
+ this.getCommandWrittenOffset = () => this.scrollState !== null && this.pendingWrite !== null && !this.pendingWrite.smooth ? this.pendingWrite.target : null;
2134
+ this._awaitingCommandReadBack = () => {
2135
+ const writtenOffset = this.getCommandWrittenOffset();
2136
+ return !(isIOSWebKit() && this._iosGesture.dragging()) && writtenOffset !== null && !approxEqual(writtenOffset, this.getScrollOffset());
2137
+ };
2138
+ this._followOffsetTarget = (delta) => {
2139
+ if (this.scrollState !== null && this.scrollState.index == null) {
2140
+ this.scrollState.lastTargetOffset += delta;
2141
+ }
1710
2142
  };
1711
2143
  this.measure = () => {
1712
2144
  this.pendingMin = null;
@@ -1717,6 +2149,14 @@ var Virtualizer = class {
1717
2149
  };
1718
2150
  this.setOptions(opts);
1719
2151
  }
2152
+ /**
2153
+ * @deprecated Always 0: a scroll correction is folded into `scrollOffset`
2154
+ * at once, so there is never an outstanding adjustment to add to it. Read
2155
+ * `scrollOffset` alone.
2156
+ */
2157
+ get scrollAdjustments() {
2158
+ return 0;
2159
+ }
1720
2160
  // Returns `true` when it performed a synchronous `scrollTop` write this
1721
2161
  // tick, `false` when the delta was zero or the write was deferred (iOS).
1722
2162
  // `resizeItem` uses that to decide whether the follow-up `notify` must be
@@ -1726,22 +2166,21 @@ var Virtualizer = class {
1726
2166
  if (this.options.debug) {
1727
2167
  console.info("correction", delta);
1728
2168
  }
1729
- if (isIOSWebKit() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded)) {
1730
- this._iosDeferredAdjustment += delta;
1731
- return false;
2169
+ this._followOffsetTarget(delta);
2170
+ if (!this._canWriteScroll()) {
2171
+ this._holdOffset += delta;
2172
+ if (this.scrollOffset !== null) this.scrollOffset += delta;
2173
+ return true;
1732
2174
  } else {
1733
- const target = this.getScrollOffset() + this.scrollAdjustments + delta;
1734
- const el = this.scrollElement;
1735
- const maxAtWrite = el !== null && ("scrollHeight" in el || "document" in el) ? this.getMaxScrollOffset() : null;
1736
- this._clampedAdjustment = maxAtWrite !== null && target > maxAtWrite + 0.5 ? { target, maxAtWrite } : null;
1737
- this._scrollToOffset(this.getScrollOffset(), {
1738
- adjustments: this.scrollAdjustments += delta,
2175
+ const offset = this.getScrollOffset();
2176
+ this._clampedAdjustment = this._clampedBy(offset + delta);
2177
+ const write = this._scrollToOffset(offset, {
2178
+ adjustments: delta,
1739
2179
  behavior
1740
2180
  });
1741
2181
  if (this.scrollOffset !== null) {
1742
- this.scrollOffset += this.scrollAdjustments;
2182
+ if (this.pendingWrite === write) this.scrollOffset += delta;
1743
2183
  if (this.scrollOffset < 0) this.scrollOffset = 0;
1744
- this.scrollAdjustments = 0;
1745
2184
  }
1746
2185
  return true;
1747
2186
  }
@@ -1757,6 +2196,10 @@ var Virtualizer = class {
1757
2196
  this.reconcileScroll();
1758
2197
  });
1759
2198
  }
2199
+ getScrollStateTarget(state) {
2200
+ const offsetInfo = state.toEnd ? [Math.max(this.getMaxScrollOffset(), 0)] : state.index != null ? this.getOffsetForIndex(state.index, state.align) : void 0;
2201
+ return offsetInfo ? offsetInfo[0] : state.lastTargetOffset;
2202
+ }
1760
2203
  reconcileScroll() {
1761
2204
  if (!this.scrollState) return;
1762
2205
  const el = this.scrollElement;
@@ -1766,18 +2209,24 @@ var Virtualizer = class {
1766
2209
  this.scrollState = null;
1767
2210
  return;
1768
2211
  }
1769
- const offsetInfo = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0;
1770
- const targetOffset = offsetInfo ? offsetInfo[0] : this.scrollState.lastTargetOffset;
1771
- const STABLE_FRAMES = 1;
2212
+ if (this.scrollState.phase === "queued") {
2213
+ this.scheduleScrollReconcile();
2214
+ return;
2215
+ }
2216
+ this.getMeasurements();
2217
+ const targetOffset = this.getScrollStateTarget(this.scrollState);
2218
+ const STABLE_FRAMES = this.scrollState.index == null ? 1 : this.options.useAnimationFrameWithResizeObserver ? 3 : 2;
1772
2219
  const targetChanged = targetOffset !== this.scrollState.lastTargetOffset;
1773
2220
  if (!targetChanged && approxEqual(targetOffset, this.getScrollOffset())) {
2221
+ if (this.scrollState.phase === "smooth") {
2222
+ this.scrollState.phase = "smoothLanded";
2223
+ } else if (this.scrollState.phase === "smoothFinishing") {
2224
+ this.scrollState.phase = "instant";
2225
+ }
1774
2226
  this.scrollState.stableFrames++;
1775
2227
  if (this.scrollState.stableFrames >= STABLE_FRAMES) {
1776
2228
  if (this.getScrollOffset() !== targetOffset) {
1777
- this._scrollToOffset(targetOffset, {
1778
- adjustments: void 0,
1779
- behavior: "auto"
1780
- });
2229
+ this._scrollToOffset(targetOffset, { behavior: "auto" });
1781
2230
  }
1782
2231
  this.scrollState = null;
1783
2232
  return;
@@ -1787,19 +2236,81 @@ var Virtualizer = class {
1787
2236
  if (targetChanged) {
1788
2237
  const viewport = this.getSize() || 600;
1789
2238
  const distance = Math.abs(targetOffset - this.getScrollOffset());
1790
- const keepSmooth = this.scrollState.behavior === "smooth" && distance > viewport;
2239
+ const keepSmooth = isSmoothScroll(this.scrollState) && distance > viewport;
1791
2240
  this.scrollState.lastTargetOffset = targetOffset;
1792
- if (!keepSmooth) {
1793
- this.scrollState.behavior = "auto";
2241
+ if (keepSmooth) {
2242
+ this.scrollState.phase = "smooth";
2243
+ } else if (this.scrollState.phase === "smooth") {
2244
+ this.scrollState.phase = "smoothFinishing";
2245
+ } else if (this.scrollState.phase === "smoothLanded") {
2246
+ this.scrollState.phase = "instant";
1794
2247
  }
1795
2248
  this._scrollToOffset(targetOffset, {
1796
- adjustments: void 0,
1797
2249
  behavior: keepSmooth ? "smooth" : "auto"
1798
2250
  });
1799
2251
  }
1800
2252
  }
1801
2253
  this.scheduleScrollReconcile();
1802
2254
  }
2255
+ // Every scroll command starts here: it becomes the in-flight command,
2256
+ // writes its first target and leaves reconcile to retarget and retire it.
2257
+ //
2258
+ // Targets are layout offsets. A held correction is not dropped by a
2259
+ // command: the write lands the element `_holdOffset` short of the target,
2260
+ // under the rows exposed shifted by the same amount, and the flush moves
2261
+ // both together once a write is possible.
2262
+ //
2263
+ // An index or end target that is already at its offset starts a smooth
2264
+ // scroll as landed; an offset target never does, so its first scroll
2265
+ // event is read as the user's (see the scroll handler in `_willUpdate`).
2266
+ _startScroll(target, offset, behavior, kind) {
2267
+ this.pendingScrollAnchor = null;
2268
+ this._clampedAdjustment = null;
2269
+ const tail = this._iosGesture.tail();
2270
+ if (kind === "absolute" && tail !== null) {
2271
+ if (tail === "fling" && momentumOverridesWrites()) {
2272
+ this._stopMomentum(() => {
2273
+ const state = this.scrollState;
2274
+ if ((state == null ? void 0 : state.phase) !== "queued" || // A finger came down: it owns the scroll until it lifts.
2275
+ this._iosGesture.tail() !== "fling" || // In a bounce WebKit can drop the write (#1287): the tail
2276
+ // decides, as without the stop. (Not `flingCaught`: our stop
2277
+ // also ends the fling at speed, so a slow frame would read as
2278
+ // a catch and the tail would drop the command.)
2279
+ this._reportedOverscroll) {
2280
+ return;
2281
+ }
2282
+ this._iosGesture.end();
2283
+ this._flushHoldIfReady(true);
2284
+ this._writeAwaitingCommand();
2285
+ });
2286
+ this.scrollState = {
2287
+ ...target,
2288
+ startedAt: this.now(),
2289
+ lastTargetOffset: offset,
2290
+ stableFrames: 0,
2291
+ phase: "queued",
2292
+ behavior,
2293
+ samples: []
2294
+ };
2295
+ this.scheduleScrollReconcile();
2296
+ return;
2297
+ }
2298
+ this._iosGesture.end();
2299
+ }
2300
+ this.scrollState = {
2301
+ ...target,
2302
+ startedAt: this.now(),
2303
+ lastTargetOffset: offset,
2304
+ stableFrames: 0,
2305
+ behavior,
2306
+ phase: initialScrollPhase(
2307
+ behavior,
2308
+ target.index != null && approxEqual(offset, this.getScrollOffset())
2309
+ )
2310
+ };
2311
+ this._scrollToOffset(offset, { behavior });
2312
+ this.scheduleScrollReconcile();
2313
+ }
1803
2314
  };
1804
2315
  var findNearestBinarySearch = (low, high, getCurrentValue, value) => {
1805
2316
  while (low <= high) {
@@ -1911,26 +2422,25 @@ function useVirtualizerBase({
1911
2422
  state.container.style[sizeAxis] = `${totalSize}px`;
1912
2423
  }
1913
2424
  };
2425
+ const applyItemPosition = (instance2, item, el) => {
2426
+ const state = directRef.current;
2427
+ const horizontal = !!instance2.options.horizontal;
2428
+ const next = item.start - instance2.options.scrollMargin;
2429
+ if (state.lastPositions.get(el) === next) return;
2430
+ state.lastPositions.set(el, next);
2431
+ if (state.mode === "transform") {
2432
+ el.style.transform = horizontal ? `translate3d(${next}px, 0, 0)` : `translate3d(0, ${next}px, 0)`;
2433
+ } else {
2434
+ el.style[horizontal ? "left" : "top"] = `${next}px`;
2435
+ }
2436
+ };
1914
2437
  const applyDirectStyles = (instance2) => {
1915
2438
  const state = directRef.current;
1916
2439
  if (!state.enabled || !state.container) return;
1917
2440
  applyContainerSize(instance2);
1918
- const horizontal = !!instance2.options.horizontal;
1919
- const useTransform = state.mode === "transform";
1920
- const posAxis = horizontal ? "left" : "top";
1921
- const scrollMargin = instance2.options.scrollMargin;
1922
- const items = instance2.getVirtualItems();
1923
- for (const item of items) {
1924
- const next = item.start - scrollMargin;
2441
+ for (const item of instance2.getVirtualItems()) {
1925
2442
  const el = instance2.elementsCache.get(item.key);
1926
- if (!el) continue;
1927
- if (state.lastPositions.get(el) === next) continue;
1928
- state.lastPositions.set(el, next);
1929
- if (useTransform) {
1930
- el.style.transform = horizontal ? `translate3d(${next}px, 0, 0)` : `translate3d(0, ${next}px, 0)`;
1931
- } else {
1932
- el.style[posAxis] = `${next}px`;
1933
- }
2443
+ if (el) applyItemPosition(instance2, item, el);
1934
2444
  }
1935
2445
  };
1936
2446
  const resolvedOptions = {
@@ -1972,17 +2482,19 @@ function useVirtualizerBase({
1972
2482
  } finally {
1973
2483
  measuringFromRef.current = false;
1974
2484
  }
2485
+ const state = directRef.current;
2486
+ if (node !== null && state.enabled && state.container) {
2487
+ const item = v3.measurementsCache[v3.indexFromElement(node)];
2488
+ if (item) applyItemPosition(v3, item, node);
2489
+ }
1975
2490
  };
1976
2491
  return Object.assign(v3, {
1977
2492
  containerRef: (node) => {
1978
2493
  const state = directRef.current;
1979
2494
  state.container = node;
1980
2495
  state.lastSize = null;
1981
- if (node && state.enabled) {
1982
- const total = v3.getTotalSize();
1983
- state.lastSize = total;
1984
- const axis = v3.options.horizontal ? "width" : "height";
1985
- node.style[axis] = `${total}px`;
2496
+ if (node !== null) {
2497
+ applyDirectStyles(v3);
1986
2498
  }
1987
2499
  }
1988
2500
  });
@@ -2460,6 +2972,7 @@ var Combobox = ({
2460
2972
  id,
2461
2973
  className
2462
2974
  }) => {
2975
+ const { formatMessage } = useIntl();
2463
2976
  const [query, setQuery] = useState("");
2464
2977
  const filteredOptions = useMemo(() => {
2465
2978
  if (onSearch) return options;
@@ -2525,7 +3038,13 @@ var Combobox = ({
2525
3038
  "aria-hidden": "true"
2526
3039
  }
2527
3040
  ) }),
2528
- /* @__PURE__ */ jsx(Uo, { className: "absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg focus:outline-hidden", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: "Loading..." }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: "No results found" }) : filteredOptions.map((opt) => /* @__PURE__ */ jsx(
3041
+ /* @__PURE__ */ jsx(Uo, { className: "absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg focus:outline-hidden", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: formatMessage({
3042
+ id: "loading",
3043
+ defaultMessage: "Loading ..."
3044
+ }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: formatMessage({
3045
+ id: "no_results_found",
3046
+ defaultMessage: "No results found"
3047
+ }) }) : filteredOptions.map((opt) => /* @__PURE__ */ jsx(
2529
3048
  Ho,
2530
3049
  {
2531
3050
  value: opt.value,
@@ -2576,7 +3095,10 @@ var Combobox = ({
2576
3095
  "aria-hidden": "true"
2577
3096
  }
2578
3097
  ) }),
2579
- /* @__PURE__ */ jsx(Uo, { className: "absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg focus:outline-hidden", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: "Loading..." }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: "No results found" }) : filteredOptions.map((opt) => /* @__PURE__ */ jsx(
3098
+ /* @__PURE__ */ jsx(Uo, { className: "absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg focus:outline-hidden", children: isLoading ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: formatMessage({ id: "loading", defaultMessage: "Loading ..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "px-4 py-2 text-text-muted", children: formatMessage({
3099
+ id: "no_results_found",
3100
+ defaultMessage: "No results found"
3101
+ }) }) : filteredOptions.map((opt) => /* @__PURE__ */ jsx(
2580
3102
  Ho,
2581
3103
  {
2582
3104
  value: opt.value,